[cfe-commits] r149104 - /cfe/trunk/lib/CodeGen/CGDecl.cpp

Matt Beaumont-Gay matthewbg at google.com
Thu Jan 26 16:46:27 PST 2012


Author: matthewbg
Date: Thu Jan 26 18:46:27 2012
New Revision: 149104

URL: http://llvm.org/viewvc/llvm-project?rev=149104&view=rev
Log:
Placate gcc's -Wreturn-type

Modified:
    cfe/trunk/lib/CodeGen/CGDecl.cpp

Modified: cfe/trunk/lib/CodeGen/CGDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDecl.cpp?rev=149104&r1=149103&r2=149104&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDecl.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDecl.cpp Thu Jan 26 18:46:27 2012
@@ -1166,6 +1166,7 @@
   case QualType::DK_objc_weak_lifetime:
     return destroyARCWeak;
   }
+  llvm_unreachable("Unknown DestructionKind");
 }
 
 /// pushDestroy - Push the standard destructor for the given type.





More information about the cfe-commits mailing list