diff --git a/include/llvm/Type.h b/include/llvm/Type.h index 3ed2d2dd7ab..f8202ae40c6 100644 --- a/include/llvm/Type.h +++ b/include/llvm/Type.h @@ -206,6 +206,7 @@ public: /// virtual const Type *getContainedType(unsigned i) const { assert(0 && "No contained types!"); + return 0; } /// getNumContainedTypes - Return the number of types in the derived type