projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Kill warning when compiling in optimized mode
[oota-llvm.git]
/
include
/
llvm
/
Type.h
diff --git
a/include/llvm/Type.h
b/include/llvm/Type.h
index 3ed2d2dd7abb611e22bd954c6b0bc8eac2f2fa3b..f8202ae40c66c61f229663ebdef9af845d64f5b8 100644
(file)
--- 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