aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-17 01:36:08 +0000
committerChris Lattner <sabre@nondot.org>2002-10-17 01:36:08 +0000
commit375b8e5128de246ca8720a82747a23b83604ebd5 (patch)
tree7eeb33daeaaa40bdee65d5107428ec1be8f08aaa
parente17a4e8b55a5ec2e4bd02962a44daf47718e9a48 (diff)
Use the forward declaration for GraphTraits instead of #including
the header git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4210 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Analysis/Dominators.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index 3304ad330c..2d0b8efb48 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -19,10 +19,11 @@
#define LLVM_ANALYSIS_DOMINATORS_H
#include "llvm/Pass.h"
-#include "Support/GraphTraits.h"
#include <set>
class Instruction;
+template <typename GraphType> struct GraphTraits;
+
//===----------------------------------------------------------------------===//
//
// DominatorBase - Base class that other, more interesting dominator analyses