[llvm-commits] CVS: llvm/include/llvm/Type.h

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 9 15:45:03 PDT 2003


Changes in directory llvm/include/llvm:

Type.h updated: 1.31 -> 1.32

---
Log message:

Kill warning when compiling in optimized mode


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

Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.31 llvm/include/llvm/Type.h:1.32
--- llvm/include/llvm/Type.h:1.31	Thu Oct  9 15:35:15 2003
+++ llvm/include/llvm/Type.h	Thu Oct  9 15:43:55 2003
@@ -206,6 +206,7 @@
   ///
   virtual const Type *getContainedType(unsigned i) const {
     assert(0 && "No contained types!");
+    return 0;
   }
 
   /// getNumContainedTypes - Return the number of types in the derived type





More information about the llvm-commits mailing list