[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/FunctionUtils.h PromoteMemToReg.h

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 27 09:15:04 PDT 2004



Changes in directory llvm/include/llvm/Transforms/Utils:

FunctionUtils.h updated: 1.6 -> 1.7
PromoteMemToReg.h updated: 1.6 -> 1.7
---
Log message:

Convert 'struct' to 'class' in various places to adhere to the coding standards
and work better with VC++.  Patch contributed by Morten Ofstad!


---
Diffs of the changes:  (+3 -3)

Index: llvm/include/llvm/Transforms/Utils/FunctionUtils.h
diff -u llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.6 llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.7
--- llvm/include/llvm/Transforms/Utils/FunctionUtils.h:1.6	Fri Apr 23 18:54:34 2004
+++ llvm/include/llvm/Transforms/Utils/FunctionUtils.h	Wed Oct 27 11:14:51 2004
@@ -18,7 +18,7 @@
 
 namespace llvm {
   class BasicBlock;
-  class DominatorSet;
+  struct DominatorSet;
   class Function;
   class Loop;
   


Index: llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h
diff -u llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.6 llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.7
--- llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h:1.6	Tue Sep 14 20:02:30 2004
+++ llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h	Wed Oct 27 11:14:51 2004
@@ -20,8 +20,8 @@
 namespace llvm {
 
 class AllocaInst;
-class DominatorTree;
-class DominanceFrontier;
+struct DominatorTree;
+struct DominanceFrontier;
 class TargetData;
 class AliasSetTracker;
 






More information about the llvm-commits mailing list