forked from OSchip/llvm-project
[NFC] Convert a dyn_cast<> to an isa<>
This commit is contained in:
parent
809855b56f
commit
5588985212
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue