From: Aaron Ballman Date: Sat, 23 May 2015 14:46:49 +0000 (+0000) Subject: Silencing a spurious -Wreturn-type warning; NFC. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a5d0a48209a51925361a30e390f6db56bf136472;p=oota-llvm.git Silencing a spurious -Wreturn-type warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238099 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DIE.cpp b/lib/CodeGen/AsmPrinter/DIE.cpp index dca85c73f00..c927bad4855 100644 --- a/lib/CodeGen/AsmPrinter/DIE.cpp +++ b/lib/CodeGen/AsmPrinter/DIE.cpp @@ -228,6 +228,7 @@ unsigned DIEValue::SizeOf(const AsmPrinter *AP, dwarf::Form Form) const { SIZE_OF_IMPL(LocList) #undef SIZE_OF_IMPL } + llvm_unreachable("Unknown DIE kind"); } #ifndef NDEBUG