[PATCH] D126034: [clang-tidy] 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 16:06:11 PDT 2022
usama54321 updated this revision to Diff 431516.
usama54321 added a comment.
- updated canResolveToExpr to accept both statements and expressions. Removed unnecessary code
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126034/new/
https://reviews.llvm.org/D126034
Files:
clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp
clang-tools-extra/test/clang-tidy/checkers/bugprone-infinite-loop.cpp
clang/include/clang/Analysis/Analyses/ExprMutationAnalyzer.h
clang/lib/Analysis/ExprMutationAnalyzer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126034.431516.patch
Type: text/x-patch
Size: 4108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220523/41d34bb4/attachment-0001.bin>
More information about the cfe-commits
mailing list