llvm-project
llvm-project copied to clipboard
LateParsedDeclaration family doesn't have clear ownership
It's unclear who owns LateParsedDeclaration objects, and raw new/delete calls are used all over the place. Possibly use something similar to AttributeFactory or BumpPtrAllocator.
@llvm/issue-subscribers-clang-frontend
Author: Yeoul Na (rapidsna)
It's unclear who owns `LateParsedDeclaration` objects, and raw new/delete calls are used all over the place. Possibly use something similar to AttributeFactory or BumpPtrAllocator.