r295044 - [clang-format] Remove dead code in FormatTestComments, NFC
Krasimir Georgiev via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 14 02:35:43 PST 2017
Author: krasimir
Date: Tue Feb 14 04:35:42 2017
New Revision: 295044
URL: http://llvm.org/viewvc/llvm-project?rev=295044&view=rev
Log:
[clang-format] Remove dead code in FormatTestComments, NFC
Modified:
cfe/trunk/unittests/Format/FormatTestComments.cpp
Modified: cfe/trunk/unittests/Format/FormatTestComments.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/FormatTestComments.cpp?rev=295044&r1=295043&r2=295044&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/FormatTestComments.cpp (original)
+++ cfe/trunk/unittests/Format/FormatTestComments.cpp Tue Feb 14 04:35:42 2017
@@ -20,7 +20,6 @@
#define DEBUG_TYPE "format-test"
using clang::tooling::ReplacementTest;
-using clang::tooling::toReplacements;
namespace clang {
namespace format {
@@ -67,12 +66,6 @@ protected:
EXPECT_EQ(Code.str(), format(test::messUp(Code), Style));
}
- void verifyIncompleteFormat(llvm::StringRef Code,
- const FormatStyle &Style = getLLVMStyle()) {
- EXPECT_EQ(Code.str(),
- format(test::messUp(Code), Style, IC_ExpectIncomplete));
- }
-
void verifyGoogleFormat(llvm::StringRef Code) {
verifyFormat(Code, getGoogleStyle());
}
More information about the cfe-commits
mailing list