Skip to content

Commit ad905f1

Browse files
committed
[NFC] [clang] Use isa instead of dyn_cast
1 parent 10844fb commit ad905f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ bool isConstOwnerPtrMemberExpr(const clang::Expr *E) {
156156
auto Name = safeGetName(Callee);
157157
if (Name == "get" || Name == "ptr")
158158
E = MCE->getImplicitObjectArgument();
159-
if (dyn_cast<CXXConversionDecl>(Callee))
159+
if (isa<CXXConversionDecl>(Callee))
160160
E = MCE->getImplicitObjectArgument();
161161
}
162162
} else if (auto *OCE = dyn_cast<CXXOperatorCallExpr>(E)) {

0 commit comments

Comments
 (0)