[PATCH] D126246: bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops

Usama Hameed via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 23 20:20:23 PDT 2022


usama54321 created this revision.
Herald added a subscriber: carlosgalvezp.
Herald added a project: All.
This revision was not accepted when it landed; it landed in state "Draft".
This revision was automatically updated to reflect the committed changes.
Closed by commit rG63ecb7dcc80d: bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops (authored by usama54321).
Herald added projects: clang, clang-tools-extra.
Herald added a subscriber: cfe-commits.

Changed prior to commit:
  https://reviews.llvm.org/D126246?vs=431496&id=431572#toc

Added a separate check for unevaluated statements. Updated InfiniteLoopCheck to use new check


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126246

Files:
  clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp
  clang/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h
  clang/lib/Analysis/ExprMutationAnalyzer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126246.431572.patch
Type: text/x-patch
Size: 6052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220524/b1f07226/attachment-0001.bin>


More information about the cfe-commits mailing list