[llvm] r234884 - Silencing a -Wreturn-type warning, as the switch is fully-covered; NFC.
Aaron Ballman
aaron at aaronballman.com
Tue Apr 14 06:26:12 PDT 2015
Author: aaronballman
Date: Tue Apr 14 08:26:11 2015
New Revision: 234884
URL: http://llvm.org/viewvc/llvm-project?rev=234884&view=rev
Log:
Silencing a -Wreturn-type warning, as the switch is fully-covered; NFC.
Modified:
llvm/trunk/tools/lli/OrcLazyJIT.cpp
Modified: llvm/trunk/tools/lli/OrcLazyJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lli/OrcLazyJIT.cpp?rev=234884&r1=234883&r2=234884&view=diff
==============================================================================
--- llvm/trunk/tools/lli/OrcLazyJIT.cpp (original)
+++ llvm/trunk/tools/lli/OrcLazyJIT.cpp Tue Apr 14 08:26:11 2015
@@ -103,6 +103,7 @@ OrcLazyJIT::TransformFtor OrcLazyJIT::cr
return std::move(M);
};
}
+ llvm_unreachable("Unknown DumpKind");
}
int llvm::runOrcLazyJIT(std::unique_ptr<Module> M, int ArgC, char* ArgV[]) {
More information about the llvm-commits
mailing list