]> granicus.if.org Git - clang/commitdiff
Make headers self-contained.
authorBenjamin Kramer <benny.kra@googlemail.com>
Tue, 2 Feb 2016 11:06:57 +0000 (11:06 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Tue, 2 Feb 2016 11:06:57 +0000 (11:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@259490 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/HeaderMap.h
include/clang/Lex/MacroArgs.h
lib/Analysis/BodyFarm.h

index 183361e4f8c0caef90ec2ac4562ef7ff0cf404b0..1443781ac36d044296d03e169c8c12848a9afd45 100644 (file)
 
 #include "clang/Basic/LLVM.h"
 #include "llvm/Support/Compiler.h"
+#include "llvm/Support/MemoryBuffer.h"
 #include <memory>
 
-namespace llvm {
-  class MemoryBuffer;
-}
 namespace clang {
   class FileEntry;
   class FileManager;
index 243b143f7af6e17ac3a5fc99f3ba391ed04ef25d..7b2a48561ff63a37e7f36fc09af908048b1a6394 100644 (file)
 #define LLVM_CLANG_LEX_MACROARGS_H
 
 #include "clang/Basic/LLVM.h"
+#include "clang/Lex/Token.h"
 #include "llvm/ADT/ArrayRef.h"
 #include <vector>
 
 namespace clang {
   class MacroInfo;
   class Preprocessor;
-  class Token;
   class SourceLocation;
 
 /// MacroArgs - An instance of this class captures information about
index 91379437231dc7cf23c000f377424e1fe8d4604f..edbe996246515c8d8e1496d0cbd448acd6ba40b0 100644 (file)
@@ -15,6 +15,7 @@
 #ifndef LLVM_CLANG_LIB_ANALYSIS_BODYFARM_H
 #define LLVM_CLANG_LIB_ANALYSIS_BODYFARM_H
 
+#include "clang/AST/DeclBase.h"
 #include "clang/Basic/LLVM.h"
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/Optional.h"
@@ -22,7 +23,6 @@
 namespace clang {
 
 class ASTContext;
-class Decl;
 class FunctionDecl;
 class ObjCMethodDecl;
 class ObjCPropertyDecl;