From 5b1f684994de82564e3242bfba30da8189419287 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 17 Oct 2002 01:36:08 +0000 Subject: [PATCH] Use the forward declaration for GraphTraits instead of #including the header llvm-svn: 4210 --- llvm/include/llvm/Analysis/Dominators.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/Analysis/Dominators.h b/llvm/include/llvm/Analysis/Dominators.h index 3304ad330c16..2d0b8efb48e8 100644 --- a/llvm/include/llvm/Analysis/Dominators.h +++ b/llvm/include/llvm/Analysis/Dominators.h @@ -19,10 +19,11 @@ #define LLVM_ANALYSIS_DOMINATORS_H #include "llvm/Pass.h" -#include "Support/GraphTraits.h" #include class Instruction; +template struct GraphTraits; + //===----------------------------------------------------------------------===// // // DominatorBase - Base class that other, more interesting dominator analyses