[clang] [analyzer] Add option assume-one-iteration (PR #125494)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 4 22:46:19 PST 2025
================
@@ -294,6 +294,16 @@ ANALYZER_OPTION(
bool, ShouldUnrollLoops, "unroll-loops",
"Whether the analysis should try to unroll loops with known bounds.", false)
+ANALYZER_OPTION(
+ bool, ShouldAssumeOneIteration, "assume-one-iteration",
+ "Whether the analyzer should always assume at least one iteration in "
----------------
whisperity wrote:
`assume-loops-iterate`? (As opposed to "not iterating", i.e., running 0 iterations.)
https://github.com/llvm/llvm-project/pull/125494
More information about the cfe-commits
mailing list