]> granicus.if.org Git - clang/commit
Remove use of 'std::string' from Attr objects, using instead a byte
authorTed Kremenek <kremenek@apple.com>
Thu, 11 Feb 2010 05:28:37 +0000 (05:28 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 11 Feb 2010 05:28:37 +0000 (05:28 +0000)
commit3d2c43e9a7ca55f5ddc1f0c77d8f5e5ea7c1b573
tree2a022e8d79470cd5cc683017926f6eeb9167c7c8
parent64952508c2b0c8bffb45c8b410f0af3d2457f59b
Remove use of 'std::string' from Attr objects, using instead a byte
array allocated using the allocator in ASTContext.  This addresses
these strings getting leaked when using a BumpPtrAllocator (in
ASTContext).

Fixes: <rdar://problem/7636765>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95853 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Attr.h
lib/AST/AttrImpl.cpp
lib/AST/Decl.cpp
lib/CodeGen/CodeGenModule.cpp
lib/Frontend/PCHReaderDecl.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaDeclAttr.cpp