[llvm] r176782 - Remove unneeded #includes. Use forward declarations instead.

Jakub Staszak kubastaszak at gmail.com
Sat Mar 9 16:20:16 PST 2013


Author: kuba
Date: Sat Mar  9 18:20:16 2013
New Revision: 176782

URL: http://llvm.org/viewvc/llvm-project?rev=176782&view=rev
Log:
Remove unneeded #includes. Use forward declarations instead.

Modified:
    llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h

Modified: llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h?rev=176782&r1=176781&r2=176782&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/TargetTransformInfo.h Sat Mar  9 18:20:16 2013
@@ -22,15 +22,17 @@
 #ifndef LLVM_ANALYSIS_TARGETTRANSFORMINFO_H
 #define LLVM_ANALYSIS_TARGETTRANSFORMINFO_H
 
-#include "llvm/CodeGen/ValueTypes.h"
-#include "llvm/IR/GlobalValue.h"
 #include "llvm/IR/Intrinsics.h"
-#include "llvm/IR/Type.h"
 #include "llvm/Pass.h"
 #include "llvm/Support/DataTypes.h"
 
 namespace llvm {
 
+class GlobalValue;
+class Type;
+class User;
+class Value;
+
 /// TargetTransformInfo - This pass provides access to the codegen
 /// interfaces that are needed for IR-level transformations.
 class TargetTransformInfo {





More information about the llvm-commits mailing list