diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-04 17:04:04 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2012-07-04 17:04:04 +0000 |
commit | 1ea8e092beadfefdd885d8355c7b66fd1d8bfe40 (patch) | |
tree | 615536db4b000e5aad7ebc9139beb8031a0426ac /clang/lib/Edit | |
parent | e2a929df73cb453504f16d4d5c546052d9a775db (diff) | |
download | llvm-1ea8e092beadfefdd885d8355c7b66fd1d8bfe40.tar.gz |
Drop the ASTContext.h include from Stmt.h and fix up transitive users.
This required moving the ctors for IntegerLiteral and FloatingLiteral out of
line which shouldn't change anything as they are usually called through Create
methods that are already out of line.
ASTContext::Deallocate has been a nop for a long time, drop it from ASTVector
and make it independent from ASTContext.h
Pass the StorageAllocator directly to AccessedEntity so it doesn't need to
have a definition of ASTContext around.
llvm-svn: 159718
Diffstat (limited to 'clang/lib/Edit')
-rw-r--r-- | clang/lib/Edit/RewriteObjCFoundationAPI.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Edit/RewriteObjCFoundationAPI.cpp b/clang/lib/Edit/RewriteObjCFoundationAPI.cpp index 6ef2e642fb45..0e7b8779941c 100644 --- a/clang/lib/Edit/RewriteObjCFoundationAPI.cpp +++ b/clang/lib/Edit/RewriteObjCFoundationAPI.cpp @@ -14,6 +14,7 @@ #include "clang/Edit/Rewriters.h" #include "clang/Edit/Commit.h" #include "clang/Lex/Lexer.h" +#include "clang/AST/ASTContext.h" #include "clang/AST/ExprObjC.h" #include "clang/AST/ExprCXX.h" #include "clang/AST/NSAPI.h" |