[clang] [Coverage] Introduce the type `CounterPair` for RegionCounterMap. NFC. (PR #112724)
Jessica Paquette via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 22 20:26:28 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);
----------------
ornata wrote:
OK gotcha
https://github.com/llvm/llvm-project/pull/112724
More information about the cfe-commits
mailing list