Move Storage and StorageAllocator out of the PartialDiagnostic class so we can...
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
Showing
- include/clang/AST/ASTContext.h 4 additions, 3 deletionsinclude/clang/AST/ASTContext.h
- include/clang/Basic/Diagnostic.h 1 addition, 0 deletionsinclude/clang/Basic/Diagnostic.h
- include/clang/Basic/PartialDiagnostic.h 73 additions, 77 deletionsinclude/clang/Basic/PartialDiagnostic.h
- lib/AST/ASTContext.cpp 6 additions, 0 deletionslib/AST/ASTContext.cpp
- lib/Basic/Diagnostic.cpp 2 additions, 2 deletionslib/Basic/Diagnostic.cpp
Loading
Please register or sign in to comment