[clang] [CIR] Refactor global variable emission and initialization (PR #138222)
Morris Hafner via cfe-commits
cfe-commits at lists.llvm.org
Fri May 2 12:16: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;
----------------
mmha wrote:
Is this just for sanity checking? Should this be wrapped in a `#ifndef NDEBUG`?
Same for `finalized` and `failed`.
https://github.com/llvm/llvm-project/pull/138222
More information about the cfe-commits
mailing list