r183742 - Silence GCC warning.

Benjamin Kramer benny.kra at googlemail.com
Tue Jun 11 06:13:47 PDT 2013


Author: d0k
Date: Tue Jun 11 08:13:47 2013
New Revision: 183742

URL: http://llvm.org/viewvc/llvm-project?rev=183742&view=rev
Log:
Silence GCC warning.

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

Modified: cfe/trunk/lib/CodeGen/CGExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGExpr.cpp?rev=183742&r1=183741&r2=183742&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGExpr.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGExpr.cpp Tue Jun 11 08:13:47 2013
@@ -315,6 +315,7 @@ createReferenceTemporary(CodeGenFunction
   case SD_Dynamic:
     llvm_unreachable("temporary can't have dynamic storage duration");
   }
+  llvm_unreachable("unknown storage duration");
 }
 
 static llvm::Value *





More information about the cfe-commits mailing list