From 34e9d7b6be970b4a6aae876e3c40a4151da67e6e Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sun, 1 Nov 2009 15:23:35 +0000 Subject: [PATCH] Don't #include Pass.h from CallGraph.h. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85715 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/CallGraph.h | 2 +- lib/Analysis/IPA/CallGraph.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Analysis/CallGraph.h b/include/llvm/Analysis/CallGraph.h index 287fe4faa4f..cd17717909c 100644 --- a/include/llvm/Analysis/CallGraph.h +++ b/include/llvm/Analysis/CallGraph.h @@ -52,13 +52,13 @@ #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/Support/CallSite.h" #include "llvm/Support/ValueHandle.h" #include "llvm/System/IncludeFile.h" #include +#include namespace llvm { diff --git a/lib/Analysis/IPA/CallGraph.cpp b/lib/Analysis/IPA/CallGraph.cpp index 9cd8bb8c2df..ac83e486681 100644 --- a/lib/Analysis/IPA/CallGraph.cpp +++ b/lib/Analysis/IPA/CallGraph.cpp @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Analysis/CallGraph.h" +#include "llvm/Pass.h" #include "llvm/Module.h" #include "llvm/Instructions.h" #include "llvm/IntrinsicInst.h"