diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-03-29 23:56:53 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-03-29 23:56:53 +0000 |
| commit | a55530e5914aa4b9d4edd713b5a45cf9d9fb69c9 (patch) | |
| tree | 0e86b2652656de523413864c6a6f7aa5448a93cc /llvm/lib/Target/Sparc/SparcMCAsmInfo.cpp | |
| parent | c95156262d6f5da3cdfaa8e062c3893d53d5cf44 (diff) | |
| download | bcm5719-llvm-a55530e5914aa4b9d4edd713b5a45cf9d9fb69c9.tar.gz bcm5719-llvm-a55530e5914aa4b9d4edd713b5a45cf9d9fb69c9.zip | |
When copying a partial diagnostic into a DependentDiagnostic, allocate
storage for that partial diagnostic via the ASTContext's
BumpPtrAllocator rather than using up slots in the ASTContext's
cache. Now that we do this, we don't have to worry about destroying
dependent diagnostics when destroying a DependentStoredDeclsMap.
llvm-svn: 99854
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcMCAsmInfo.cpp')
0 files changed, 0 insertions, 0 deletions

