[llvm] r176770 - Use forward declaration instead of #include.
Jakub Staszak
kubastaszak at gmail.com
Sat Mar 9 10:05:35 PST 2013
Author: kuba
Date: Sat Mar 9 12:05:34 2013
New Revision: 176770
URL: http://llvm.org/viewvc/llvm-project?rev=176770&view=rev
Log:
Use forward declaration instead of #include.
Modified:
llvm/trunk/include/llvm/Analysis/LoopInfo.h
Modified: llvm/trunk/include/llvm/Analysis/LoopInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LoopInfo.h?rev=176770&r1=176769&r2=176770&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LoopInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/LoopInfo.h Sat Mar 9 12:05:34 2013
@@ -36,7 +36,6 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/Analysis/Dominators.h"
#include "llvm/Pass.h"
-#include "llvm/Support/raw_ostream.h"
#include <algorithm>
namespace llvm {
@@ -52,6 +51,7 @@ class DominatorTree;
class LoopInfo;
class Loop;
class PHINode;
+class raw_ostream;
template<class N, class M> class LoopInfoBase;
template<class N, class M> class LoopBase;
More information about the llvm-commits
mailing list