[clang] [analyzer][NFC] Add option assume-one-iteration (PR #125494)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 3 06:50:05 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 "
----------------
steakhal wrote:
I wish the name would reflect that it's **at least one**, and not exactly one iteration.
https://github.com/llvm/llvm-project/pull/125494
More information about the cfe-commits
mailing list