From: Daniel Dunbar Date: Sat, 17 Oct 2009 03:28:07 +0000 (+0000) Subject: Add required #includes for freestanding .h files. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ca24a695e7727da5df40a819d1144c32c8fb0110;p=oota-llvm.git Add required #includes for freestanding .h files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84302 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index bcb6dee033d..287fe4faa4f 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -51,9 +51,10 @@ #ifndef LLVM_ANALYSIS_CALLGRAPH_H #define LLVM_ANALYSIS_CALLGRAPH_H +#include "llvm/Function.h" +#include "llvm/Pass.h" #include "llvm/ADT/GraphTraits.h" #include "llvm/ADT/STLExtras.h" -#include "llvm/Pass.h" #include "llvm/Support/CallSite.h" #include "llvm/Support/ValueHandle.h" #include "llvm/System/IncludeFile.h" diff --git a/include/llvm/PassSupport.h b/include/llvm/PassSupport.h index b5e581a6f4e..d7f3097bdc8 100644 --- a/include/llvm/PassSupport.h +++ b/include/llvm/PassSupport.h @@ -21,7 +21,7 @@ #ifndef LLVM_PASS_SUPPORT_H #define LLVM_PASS_SUPPORT_H -// No need to include Pass.h, we are being included by it! +#include "Pass.h" namespace llvm {