[llvm-commits] CVS: llvm/lib/VMCore/Dominators.cpp

Reid Spencer reid at x10sys.com
Thu Jun 1 00:03:05 PDT 2006



Changes in directory llvm/lib/VMCore:

Dominators.cpp updated: 1.69 -> 1.70
---
Log message:

Change from using a stub function to a stub variable for passing to the
IncludeFile hack to ensure linkage of analysis passes. This works around
some -pedantic warnings about assigning an object to a function.


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

 Dominators.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/VMCore/Dominators.cpp
diff -u llvm/lib/VMCore/Dominators.cpp:1.69 llvm/lib/VMCore/Dominators.cpp:1.70
--- llvm/lib/VMCore/Dominators.cpp:1.69	Tue Mar 14 13:41:45 2006
+++ llvm/lib/VMCore/Dominators.cpp	Thu Jun  1 02:02:51 2006
@@ -304,7 +304,7 @@
   return false;
 }
 
-void DominatorSet::stub() {}
+int DominatorSet::stub;
 
 namespace llvm {
 static std::ostream &operator<<(std::ostream &o,






More information about the llvm-commits mailing list