[NFC] Convert a dyn_cast<> to an isa<>

This commit is contained in:
Chuanqi Xu 2022-07-27 13:56:38 +08:00
parent 809855b56f
commit 5588985212
1 changed files with 1 additions and 1 deletions

View File

@ -2857,7 +2857,7 @@ void ExprEngine::VisitArrayInitLoopExpr(const ArrayInitLoopExpr *Ex,
for (auto *Node : CheckerPreStmt) {
// The constructor visitior has already taken care of everything.
if (auto *CE = dyn_cast<CXXConstructExpr>(Ex->getSubExpr()))
if (isa<CXXConstructExpr>(Ex->getSubExpr()))
break;
const LocationContext *LCtx = Node->getLocationContext();