From a5d0a48209a51925361a30e390f6db56bf136472 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sat, 23 May 2015 14:46:49 +0000 Subject: [PATCH] Silencing a spurious -Wreturn-type warning; NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238099 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/DIE.cpp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1