[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:14 PDT 2025


================
@@ -28,12 +28,19 @@ namespace interp {
 
 using APInt = llvm::APInt;
 using APSInt = llvm::APSInt;
-template <unsigned Bits, bool Signed> class Integral;
 
+/// If an IntegralAP is constructed from Memory, it DOES NOT OWN THAT MEMORY.
+/// It will NOT copy the memory (unless, of course, copy() is called) an it
----------------
AaronBallman wrote:

```suggestion
/// It will NOT copy the memory (unless, of course, copy() is called) and it
```

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


More information about the cfe-commits mailing list