[cfe-commits] r40509 - /cfe/trunk/AST/Type.cpp

Steve Naroff snaroff at apple.com
Wed Jul 25 20:18:02 PDT 2007


Author: snaroff
Date: Wed Jul 25 22:18:02 2007
New Revision: 40509

URL: http://llvm.org/viewvc/llvm-project?rev=40509&view=rev
Log:
Forgot a return stmt (oops).

Modified:
    cfe/trunk/AST/Type.cpp

Modified: cfe/trunk/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/Type.cpp?rev=40509&r1=40508&r2=40509&view=diff

==============================================================================
--- cfe/trunk/AST/Type.cpp (original)
+++ cfe/trunk/AST/Type.cpp Wed Jul 25 22:18:02 2007
@@ -105,6 +105,7 @@
   // losing all typedef information.
   if (isa<RecordType>(CanonicalType))
     return cast<RecordType>(cast<TypedefType>(this)->LookThroughTypedefs());
+  return 0;
 }
 
 bool Type::isStructureType() const {





More information about the cfe-commits mailing list