]> granicus.if.org Git - clang/commit
Insomniac refactoring: change how the parser allocates attributes so that
authorJohn McCall <rjmccall@apple.com>
Thu, 24 Mar 2011 11:26:52 +0000 (11:26 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 24 Mar 2011 11:26:52 +0000 (11:26 +0000)
commit0b7e678a11ece4288dc01aebb5b17e5eef8f8d2d
tree7a4b4707d5fcfeed3c2301e0c4d15647bf7f24c3
parentfa7b8ced6f3318879b39f44b5ace8346e979826e
Insomniac refactoring:  change how the parser allocates attributes so that
AttributeLists do not accumulate over the lifetime of parsing, but are
instead reused.  Also make the arguments array not require a separate
allocation, and make availability attributes store their stuff in
augmented memory, too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128209 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/Parse/Parser.h
include/clang/Sema/AttributeList.h
include/clang/Sema/DeclSpec.h
lib/Parse/ParseDecl.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Parse/ParseObjc.cpp
lib/Parse/ParseStmt.cpp
lib/Parse/ParseTemplate.cpp
lib/Parse/ParseTentative.cpp
lib/Parse/Parser.cpp
lib/Sema/AttributeList.cpp
lib/Sema/DeclSpec.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaType.cpp