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

via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 07:18:04 PDT 2026


================
@@ -854,7 +851,7 @@ namespace {
     std::map<DynamicAllocLValue, DynAlloc, DynAllocOrder> HeapAllocs;
 
     /// The number of heap allocations performed so far in this evaluation.
-    unsigned NumHeapAllocs = 0;
+    uintptr_t NumHeapAllocs = 0;
----------------
keinflue wrote:

See discussion thread ending in https://github.com/llvm/llvm-project/pull/174549#discussion_r4025663479.

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


More information about the cfe-commits mailing list