[clang] [CIR] Refactor global variable emission and initialization (PR #138222)

Andy Kaylor via cfe-commits cfe-commits at lists.llvm.org
Fri May 2 13:10:20 PDT 2025


================
@@ -31,6 +31,15 @@ class ConstantEmitter {
 private:
   bool abstract = false;
 
+  /// Whether non-abstract components of the emitter have been initialized.
+  bool initializedNonAbstract = false;
----------------
andykaylor wrote:

Yes, these are just for debugging. Wrapping them in NDEBUG makes sense.

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


More information about the cfe-commits mailing list