aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 3ed2d2dd7a..f8202ae40c 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