diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/AbstractTypeUser.h | 2 | ||||
-rw-r--r-- | include/llvm/Instruction.h | 2 | ||||
-rw-r--r-- | include/llvm/Module.h | 3 | ||||
-rw-r--r-- | include/llvm/Pass.h | 2 | ||||
-rw-r--r-- | include/llvm/Value.h | 3 | ||||
-rw-r--r-- | include/llvm/iPHINode.h | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/include/llvm/AbstractTypeUser.h b/include/llvm/AbstractTypeUser.h index f039eb8..b936b45 100644 --- a/include/llvm/AbstractTypeUser.h +++ b/include/llvm/AbstractTypeUser.h @@ -39,7 +39,7 @@ namespace llvm { -class Type; +struct Type; class DerivedType; class AbstractTypeUser { diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h index caba4af..86f2a05 100644 --- a/include/llvm/Instruction.h +++ b/include/llvm/Instruction.h @@ -20,7 +20,7 @@ namespace llvm { -class AssemblyAnnotationWriter; +struct AssemblyAnnotationWriter; template<typename SC> struct ilist_traits; template<typename ValueSubClass, typename ItemParentClass, typename SymTabClass, diff --git a/include/llvm/Module.h b/include/llvm/Module.h index 5c27d3b..a0f63fb 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -43,7 +43,8 @@ template<> struct ilist_traits<GlobalVariable> static iplist<GlobalVariable> &getList(Module *M); }; -struct Module { +class Module { +public: typedef iplist<GlobalVariable> GlobalListType; typedef iplist<Function> FunctionListType; diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h index 63dbcb2..96cd263 100644 --- a/include/llvm/Pass.h +++ b/include/llvm/Pass.h @@ -38,7 +38,7 @@ namespace llvm { class Value; -class BasicBlock; +struct BasicBlock; class Function; class Module; class AnalysisUsage; diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 3a58a44..6c899a0 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -24,11 +24,10 @@ namespace llvm { -class Type; class Constant; class Argument; class Instruction; -class BasicBlock; +struct BasicBlock; class GlobalValue; class Function; class GlobalVariable; diff --git a/include/llvm/iPHINode.h b/include/llvm/iPHINode.h index 22ba9a0..0d577cc 100644 --- a/include/llvm/iPHINode.h +++ b/include/llvm/iPHINode.h @@ -18,7 +18,7 @@ namespace llvm { -class BasicBlock; +struct BasicBlock; //===----------------------------------------------------------------------===// // PHINode Class |