[clang] ffd258f - Remove unreachable return (PR47028)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 7 03:33:34 PDT 2020
Author: Simon Pilgrim
Date: 2020-08-07T11:33:23+01:00
New Revision: ffd258f7bbba2a65800970fcea6648fb285d95f4
URL: https://github.com/llvm/llvm-project/commit/ffd258f7bbba2a65800970fcea6648fb285d95f4
DIFF: https://github.com/llvm/llvm-project/commit/ffd258f7bbba2a65800970fcea6648fb285d95f4.diff
LOG: Remove unreachable return (PR47028)
Added:
Modified:
clang/lib/Driver/ToolChains/Arch/Mips.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/Arch/Mips.cpp b/clang/lib/Driver/ToolChains/Arch/Mips.cpp
index 7b4dd703c0c7..5a509dbb2bd3 100644
--- a/clang/lib/Driver/ToolChains/Arch/Mips.cpp
+++ b/clang/lib/Driver/ToolChains/Arch/Mips.cpp
@@ -452,8 +452,6 @@ bool mips::isNaN2008(const ArgList &Args, const llvm::Triple &Triple) {
return llvm::StringSwitch<bool>(getCPUName(Args, Triple))
.Cases("mips32r6", "mips64r6", true)
.Default(false);
-
- return false;
}
bool mips::isFP64ADefault(const llvm::Triple &Triple, StringRef CPUName) {
More information about the cfe-commits
mailing list