xazax.hun added inline comments. ================ Comment at: lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp:195 @@ +194,3 @@ + if (Optional<CFGStmt> S = I->getAs<CFGStmt>()) { + if (isa<Expr>(S->getStmt())) + return S->getStmt(); ---------------- Maybe I would prefer something like !isa<DeclStmt> which is a less intrusive change.
Repository: rL LLVM https://reviews.llvm.org/D24905 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits