[cfe-commits] r150731 - /cfe/trunk/lib/AST/ExprCXX.cpp

Matt Beaumont-Gay matthewbg at google.com
Thu Feb 16 14:15:51 PST 2012


Author: matthewbg
Date: Thu Feb 16 16:15:50 2012
New Revision: 150731

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

Modified:
    cfe/trunk/lib/AST/ExprCXX.cpp

Modified: cfe/trunk/lib/AST/ExprCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprCXX.cpp?rev=150731&r1=150730&r2=150731&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprCXX.cpp (original)
+++ cfe/trunk/lib/AST/ExprCXX.cpp Thu Feb 16 16:15:50 2012
@@ -120,6 +120,7 @@
   case ListInit:
     return getInitializer()->getSourceRange().getEnd();
   }
+  llvm_unreachable("bogus initialization style");
 }
 
 // CXXDeleteExpr





More information about the cfe-commits mailing list