]> granicus.if.org Git - clang/commit
Move Storage and StorageAllocator out of the PartialDiagnostic class so we can forwar...
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 4 Feb 2012 12:30:46 +0000 (12:30 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 4 Feb 2012 12:30:46 +0000 (12:30 +0000)
commitef9b60ffed980864a8db26ad30344be429e58ff5
tree9b046bec7746470eb8ed8b59492414353f134cb6
parentc6c090d2722dbae27c7623184bed668f7f29fa4b
Move Storage and StorageAllocator out of the PartialDiagnostic class so we can forward declare them.

Let ASTContext allocate the storage in its BumpPtrAllocator.
This will help us remove ASTContext's depedency on PartialDiagnostic.h soon.

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