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
This commit is contained in:
Chris Lattner 2002-10-17 01:36:08 +00:00
parent e17a4e8b55
commit 375b8e5128

View File

@ -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