Skip to content

Commit 5588985

Browse files
committed
[NFC] Convert a dyn_cast<> to an isa<>
1 parent 809855b commit 5588985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Core/ExprEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2857,7 +2857,7 @@ void ExprEngine::VisitArrayInitLoopExpr(const ArrayInitLoopExpr *Ex,
28572857
for (auto *Node : CheckerPreStmt) {
28582858

28592859
// The constructor visitior has already taken care of everything.
2860-
if (auto *CE = dyn_cast<CXXConstructExpr>(Ex->getSubExpr()))
2860+
if (isa<CXXConstructExpr>(Ex->getSubExpr()))
28612861
break;
28622862

28632863
const LocationContext *LCtx = Node->getLocationContext();

0 commit comments

Comments
 (0)