llvm-project
e95cedd3 - Reapply "[OpenACC] Sema changes for +*&|^ reduction combiner recipes (… (https://github.com/llvm/llvm-project/pull/162920) (#163246)

Commit
109 days ago
Reapply "[OpenACC] Sema changes for +*&|^ reduction combiner recipes (… (https://github.com/llvm/llvm-project/pull/162920) (#163246) This reverts commit https://github.com/llvm/llvm-project/commit/8d9aecce064776a9a890f3c898165f99e8eaa13e. Additionally, this refactors how we're doing the AST storage to put it all in the trailing storage, which will hopefully prevent it from leaking. The problem was that the AST doesn't call destructors on things in ASTContext storage, so we weren't actually able to delete the combiner SmallVector (which I should have known...). This patch instead moves all of that SmallVector data into trailing storage, which shouldn't have the same problem with leaking as before.
Author
Parents
Loading