[clang] [clang][bytecode] Allocate IntegralAP and Floating types using an allocator (PR #144246)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 16 06:19:13 PDT 2025
================
@@ -17,63 +17,80 @@
#include "clang/AST/APValue.h"
#include "llvm/ADT/APFloat.h"
+// XXX This is just a debugging help. Setting this to 1 will heap-allocate ALL
+// floating values.
+#define ALLOCATE_ALL 0
+
----------------
AaronBallman wrote:
Do you intend to retain this long-term or is this just until you're confident in the implementation?
https://github.com/llvm/llvm-project/pull/144246
More information about the cfe-commits
mailing list