[clang] [Coverage] Introduce the type `CounterPair` for RegionCounterMap. NFC. (PR #112724)

Jessica Paquette via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 20:24:34 PST 2024


================
@@ -362,6 +362,8 @@ CodeGenFunction::AddInitializerToStaticVarDecl(const VarDecl &D,
     return GV;
   }
 
+  PGO.markStmtMaybeUsed(D.getInit()); // FIXME: Too lazy
----------------
ornata wrote:

Too lazy?

https://github.com/llvm/llvm-project/pull/112724


More information about the cfe-commits mailing list