Skip to content

Commit 72a9c3c

Browse files
[Analysis] Remove an unnecessary cast (NFC) (#146547)
ME is already of ObjCMessageExpr *.
1 parent 98e6d5c commit 72a9c3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Analysis/CFG.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -898,8 +898,7 @@ class CFGBuilder {
898898
return;
899899
}
900900

901-
B->appendStmt(const_cast<ObjCMessageExpr *>(ME),
902-
cfg->getBumpVectorContext());
901+
B->appendStmt(ME, cfg->getBumpVectorContext());
903902
}
904903

905904
void appendTemporaryDtor(CFGBlock *B, CXXBindTemporaryExpr *E) {

0 commit comments

Comments
 (0)