[PATCH] D27767: NFC Changes from modernize-use-auto

Malcolm Parsons via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 15 08:05:58 PST 2016


malcolm.parsons added inline comments.


================
Comment at: lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp:106
 
   if (Optional<PostStmt> P = Succ->getLocationAs<PostStmt>())
+    if (const auto *BO = P->getStmtAs<BinaryOperator>()) {
----------------
The check missed this one.


https://reviews.llvm.org/D27767





More information about the cfe-commits mailing list