[llvm-commits] CVS: llvm/include/Support/TypeInfo.h

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 4 15:52:01 PDT 2004


Changes in directory llvm/include/Support:

TypeInfo.h updated: 1.5 -> 1.6

---
Log message:

Fix a *really* dumb warning on VC


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

Index: llvm/include/Support/TypeInfo.h
diff -u llvm/include/Support/TypeInfo.h:1.5 llvm/include/Support/TypeInfo.h:1.6
--- llvm/include/Support/TypeInfo.h:1.5	Tue Nov 11 16:41:29 2003
+++ llvm/include/Support/TypeInfo.h	Fri Jun  4 15:47:19 2004
@@ -36,7 +36,7 @@
 
   // Compatibility functions
   bool before(const TypeInfo &rhs) const {
-    return Info->before(*rhs.Info);
+    return Info->before(*rhs.Info) != 0;
   }
   const char *getClassName() const {
     return Info->name();





More information about the llvm-commits mailing list