[llvm-commits] [llvm] r45337 - /llvm/trunk/include/llvm/CodeGen/MachineDominators.h

Owen Anderson resistor at mac.com
Sun Dec 23 12:34:07 PST 2007


Author: resistor
Date: Sun Dec 23 14:34:06 2007
New Revision: 45337

URL: http://llvm.org/viewvc/llvm-project?rev=45337&view=rev
Log:
Get rid of an unneeded #include.

Modified:
    llvm/trunk/include/llvm/CodeGen/MachineDominators.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineDominators.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineDominators.h?rev=45337&r1=45336&r2=45337&view=diff

==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineDominators.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineDominators.h Sun Dec 23 14:34:06 2007
@@ -21,7 +21,6 @@
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/Analysis/Dominators.h"
 #include "llvm/Analysis/DominatorInternals.h"
-#include "llvm/ADT/GraphTraits.h"
 
 namespace llvm {
 
@@ -187,6 +186,9 @@
 /// DominatorTree GraphTraits specialization so the DominatorTree can be
 /// iterable by generic graph iterators.
 ///
+
+template<class T> struct GraphTraits;
+
 template <> struct GraphTraits<MachineDomTreeNode *> {
   typedef MachineDomTreeNode NodeType;
   typedef NodeType::iterator  ChildIteratorType;





More information about the llvm-commits mailing list