[clang-tools-extra] r251279 - Drop dead return after llvm_unreachable. NFC.
Benjamin Kramer via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 26 02:57:00 PDT 2015
Author: d0k
Date: Mon Oct 26 04:57:00 2015
New Revision: 251279
URL: http://llvm.org/viewvc/llvm-project?rev=251279&view=rev
Log:
Drop dead return after llvm_unreachable. NFC.
Modified:
clang-tools-extra/trunk/clang-tidy/readability/ImplicitBoolCastCheck.cpp
Modified: clang-tools-extra/trunk/clang-tidy/readability/ImplicitBoolCastCheck.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/readability/ImplicitBoolCastCheck.cpp?rev=251279&r1=251278&r2=251279&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/readability/ImplicitBoolCastCheck.cpp (original)
+++ clang-tools-extra/trunk/clang-tidy/readability/ImplicitBoolCastCheck.cpp Mon Oct 26 04:57:00 2015
@@ -84,7 +84,6 @@ getZeroLiteralToCompareWithForGivenType(
default:
llvm_unreachable("Unexpected cast kind");
}
- return "";
}
bool isUnaryLogicalNotOperator(const Stmt *Statement) {
More information about the cfe-commits
mailing list