Use the forward declaration for GraphTraits instead of #including
authorChris Lattner <sabre@nondot.org>
Thu, 17 Oct 2002 01:36:08 +0000 (01:36 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Oct 2002 01:36:08 +0000 (01:36 +0000)
the header

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4210 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/Dominators.h

index 3304ad330c160c8ce557aca7758deb37956800e6..2d0b8efb48e82c940c5a05eeb639c9b950aa5413 100644 (file)
 #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