[clang] [Coverage] Introduce the type `CounterPair` for RegionCounterMap. NFC. (PR #112724)
NAKAMURA Takumi via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 19 01:24:26 PST 2024
================
@@ -1728,6 +1730,7 @@ bool CodeGenFunction::ConstantFoldsToSimpleInteger(const Expr *Cond,
if (!AllowLabels && CodeGenFunction::ContainsLabel(Cond))
return false; // Contains a label.
+ PGO.markStmtMaybeUsed(Cond);
----------------
chapuni wrote:
No. Just for checks.
https://github.com/llvm/llvm-project/pull/112724
More information about the cfe-commits
mailing list