Eugene.Zelenko added inline comments.
================ Comment at: clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp:160 + if (const auto *Call = dyn_cast<CallExpr>(StmtNode)) { + const auto *Callee = Call->getDirectCallee(); + ---------------- Please don't use `auto` when type is not spelled explicitly or iterator. ================ Comment at: clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp:187 + for (const auto *GNode : SCC) { + const auto *CanDecl = GNode->getDecl()->getCanonicalDecl(); + ---------------- Ditto. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128401/new/ https://reviews.llvm.org/D128401 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits