OSDN Git Service

Remove an unnecessary include. Now we won't have circular include
authorDavid Greene <greened@obbligato.org>
Wed, 19 Aug 2009 23:00:07 +0000 (23:00 +0000)
committerDavid Greene <greened@obbligato.org>
Wed, 19 Aug 2009 23:00:07 +0000 (23:00 +0000)
problems later on.

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

include/llvm/CodeGen/MachineFunctionPass.h

index 60460af..bac1103 100644 (file)
 #define LLVM_CODEGEN_MACHINE_FUNCTION_PASS_H
 
 #include "llvm/Pass.h"
-#include "llvm/CodeGen/MachineFunction.h"
 
 namespace llvm {
 
+class MachineFunction;
+
 /// MachineFunctionPass - This class adapts the FunctionPass interface to
 /// allow convenient creation of passes that operate on the MachineFunction
 /// representation. Instead of overriding runOnFunction, subclasses