llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

LateParsedDeclaration family doesn't have clear ownership

Open rapidsna opened this issue 2 months ago • 1 comments

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.

rapidsna avatar Sep 29 '26 19:09 rapidsna

@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.