From 1ea8e092beadfefdd885d8355c7b66fd1d8bfe40 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 4 Jul 2012 17:04:04 +0000 Subject: 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 --- clang/lib/ARCMigrate/TransformActions.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/ARCMigrate/TransformActions.cpp') diff --git a/clang/lib/ARCMigrate/TransformActions.cpp b/clang/lib/ARCMigrate/TransformActions.cpp index 0ecfeb54f85..783db1c8f3a 100644 --- a/clang/lib/ARCMigrate/TransformActions.cpp +++ b/clang/lib/ARCMigrate/TransformActions.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// #include "Internals.h" +#include "clang/AST/ASTContext.h" #include "clang/AST/Expr.h" #include "clang/Lex/Preprocessor.h" #include "clang/Basic/SourceManager.h" -- cgit v1.2.3