We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10844fb commit ad905f1Copy full SHA for ad905f1
clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp
@@ -156,7 +156,7 @@ bool isConstOwnerPtrMemberExpr(const clang::Expr *E) {
156
auto Name = safeGetName(Callee);
157
if (Name == "get" || Name == "ptr")
158
E = MCE->getImplicitObjectArgument();
159
- if (dyn_cast<CXXConversionDecl>(Callee))
+ if (isa<CXXConversionDecl>(Callee))
160
161
}
162
} else if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(E)) {
0 commit comments