[clang] [clang][Interp] Add explicit dummy descriptors (PR #68888)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 06:04:45 PDT 2023


Timm =?utf-8?q?Bäder?= <tbaeder at redhat.com>
Message-ID:
In-Reply-To: <llvm/llvm-project/pull/68888/clang at github.com>


================
@@ -109,6 +109,8 @@ struct Descriptor final {
   const bool IsTemporary = false;
   /// Flag indicating if the block is an array.
   const bool IsArray = false;
+  /// Flag indicating if this is a dummy descriptor.
+  const bool IsDummy = false;
----------------
AaronBallman wrote:

Should we be considering using a bit-field to pack these together at some point? (As an NFC follow-up)

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


More information about the cfe-commits mailing list