[PATCH] D126034: [clang-tidy] bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 23 17:38:31 PDT 2022


NoQ accepted this revision.
NoQ added a comment.

Whoops, no, this isn't an actual concern. Looks good then, please commit!



================
Comment at: clang/lib/Analysis/ExprMutationAnalyzer.cpp:234-236
+bool ExprMutationAnalyzer::isUnevaluated(const Expr *Exp) {
+  return isUnevaluated(Exp, Stm, Context);
+}
----------------
NoQ wrote:
> Shouldn't this one be removed now?
Nvm, it's the old interface.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126034/new/

https://reviews.llvm.org/D126034



More information about the cfe-commits mailing list