[PATCH] D61814: [CFG] NFC: Remove implicit conversion from CFGTerminator to Stmt *, make it a variant class instead.
Aleksei Sidorin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun May 19 12:48:24 PDT 2019
a_sidorin added inline comments.
================
Comment at: clang/lib/Analysis/ReachableCode.cpp:465
+ CFGTerminator T = Block->getTerminator();
+ if (T.getKind() == CFGTerminator::StmtBranch) {
+ const Stmt *S = T.getStmt();
----------------
isStmtBranch()?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61814/new/
https://reviews.llvm.org/D61814
More information about the cfe-commits
mailing list