summaryrefslogtreecommitdiffstats
path: root/clang/AST/Type.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/AST/Type.cpp')
-rw-r--r--clang/AST/Type.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/AST/Type.cpp b/clang/AST/Type.cpp
index 867a409d833..560e4c1ba69 100644
--- a/clang/AST/Type.cpp
+++ b/clang/AST/Type.cpp
@@ -105,6 +105,7 @@ const RecordType *Type::isRecordType() const {
// losing all typedef information.
if (isa<RecordType>(CanonicalType))
return cast<RecordType>(cast<TypedefType>(this)->LookThroughTypedefs());
+ return 0;
}
bool Type::isStructureType() const {
OpenPOWER on IntegriCloud