]> granicus.if.org Git - clang/commit
[CUDA] Destroy deferred diagnostics before destroying the ASTContext's PartialDiagnos...
authorJustin Lebar <jlebar@google.com>
Tue, 4 Oct 2016 23:41:45 +0000 (23:41 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 4 Oct 2016 23:41:45 +0000 (23:41 +0000)
commit8678918d321e6439b535d2c7f4613498b08797f6
treeb38e7b328fa9db4487027d3d1dcee2e364bdc169
parenta0ff5f0745318cddc06f6068e3ae9d4efc74fe1f
[CUDA] Destroy deferred diagnostics before destroying the ASTContext's PartialDiagnostic allocator.

Summary:
This will let us (in a separate patch) allocate deferred diagnostics in
the ASTContext's PartialDiagnostic arena.

Reviewers: rnk

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D25260

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@283271 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/CodeGen/CodeGenModule.cpp