[llvm] r238099 - Silencing a spurious -Wreturn-type warning; NFC.

Aaron Ballman aaron at aaronballman.com
Sat May 23 07:46:50 PDT 2015


Author: aaronballman
Date: Sat May 23 09:46:49 2015
New Revision: 238099

URL: http://llvm.org/viewvc/llvm-project?rev=238099&view=rev
Log:
Silencing a spurious -Wreturn-type warning; NFC.

Modified:
    llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp

Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp?rev=238099&r1=238098&r2=238099&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DIE.cpp Sat May 23 09:46:49 2015
@@ -228,6 +228,7 @@ unsigned DIEValue::SizeOf(const AsmPrint
     SIZE_OF_IMPL(LocList)
 #undef SIZE_OF_IMPL
   }
+  llvm_unreachable("Unknown DIE kind");
 }
 
 #ifndef NDEBUG





More information about the llvm-commits mailing list