]> granicus.if.org Git - clang/commitdiff
Forgot a return stmt (oops).
authorSteve Naroff <snaroff@apple.com>
Thu, 26 Jul 2007 03:18:02 +0000 (03:18 +0000)
committerSteve Naroff <snaroff@apple.com>
Thu, 26 Jul 2007 03:18:02 +0000 (03:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40509 91177308-0d34-0410-b5e6-96231b3b80d8

AST/Type.cpp

index 867a409d8331c5816c37b099a217ec5fce941458..560e4c1ba69b18b2c9e5bf15c96e6e71ef1ff94f 100644 (file)
@@ -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 {