Kill warning when compiling in optimized mode

llvm-svn: 8989
This commit is contained in:
Chris Lattner 2003-10-09 20:43:55 +00:00
parent 1ae8a48a62
commit c6ba9de7b7
1 changed files with 1 additions and 0 deletions

View File

@ -206,6 +206,7 @@ public:
/// ///
virtual const Type *getContainedType(unsigned i) const { virtual const Type *getContainedType(unsigned i) const {
assert(0 && "No contained types!"); assert(0 && "No contained types!");
return 0;
} }
/// getNumContainedTypes - Return the number of types in the derived type /// getNumContainedTypes - Return the number of types in the derived type