aaron.ballman added inline comments.
================ Comment at: clang-tidy/utils/ExprSequence.cpp:147 return TheIfStmt->getCond(); + } else if (const auto *TheWhileStmt = dyn_cast<WhileStmt>(Parent)) { + // While statement: If a variable is declared inside the condition, the ---------------- Should we also handle switch statements at the same time? Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D49918 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits