[clang] [clang] Implement constexpr heap allocation alignments (PR #174549)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 05:25:37 PDT 2026


================
@@ -269,6 +270,18 @@ struct Descriptor final {
   /// Whether variables of this descriptor need their destructor called or not.
   bool hasTrivialDtor() const;
 
+  /// Returns the kind of dynamic allocation source of this block.
----------------
tbaederr wrote:

All of this (and the comments above these functions) seem to indicate that this is a per-block property that only exists for block pointers. 

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


More information about the cfe-commits mailing list