[clang] [TBAA] Extend pointer TBAA to pointers of non-builtin types. (PR #110569)

John McCall via cfe-commits cfe-commits at lists.llvm.org
Sun Oct 20 09:20:18 PDT 2024


================
@@ -119,6 +120,7 @@ class CodeGenTBAA {
   llvm::Module &Module;
   const CodeGenOptions &CodeGenOpts;
   const LangOptions &Features;
+  MangleContext *MangleCtx;
----------------
rjmccall wrote:

This should either be a unique_ptr or you need to delete it in the destructor.

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


More information about the cfe-commits mailing list