[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)
commit49e7614efb5bad5de8d7bcab0fcd59808db5495d
treef347e8486994771b461349e3a0462a8423c2c309
parent3aacfafaad4a958bdcc0043b4492f686a3e38d06
[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

llvm-svn: 283271
clang/include/clang/AST/ASTContext.h
clang/lib/CodeGen/CodeGenModule.cpp