[clang] [clang][bytecode] Add `LocalInlineDesc` for local variables (PR #239505)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 6 00:19:38 PST 2026
================
@@ -57,6 +57,18 @@ enum class Lifetime : uint8_t {
Ended,
};
+struct alignas(void *) LocalInlineDescriptor {
+ bool IsEnabled;
+ bool IsInitialized;
+ Lifetime LifeState;
+
+ LocalInlineDescriptor()
----------------
tbaederr wrote:
They all used to be bitfields, but that's slower and doesn't make the struct smaller.
https://github.com/llvm/llvm-project/pull/239505
More information about the cfe-commits
mailing list