diff options
author | Krasimir Georgiev <krasimir@google.com> | 2017-04-21 14:21:21 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2017-04-21 14:21:21 +0000 |
commit | 531dbc7c17f58ed0df9366aff9615a80559eeaf2 (patch) | |
tree | 52da2090351cfcb435998ee1de351d0130b2f70f /clang/unittests/Format/CleanupTest.cpp | |
parent | 6b82a75df5ca295c9f8159011e907da42725b99b (diff) | |
download | bcm5719-llvm-531dbc7c17f58ed0df9366aff9615a80559eeaf2.tar.gz bcm5719-llvm-531dbc7c17f58ed0df9366aff9615a80559eeaf2.zip |
[clang-format] Clang-tidy cleanup of CleanupTest.cpp, NFC
llvm-svn: 300982
Diffstat (limited to 'clang/unittests/Format/CleanupTest.cpp')
-rw-r--r-- | clang/unittests/Format/CleanupTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/unittests/Format/CleanupTest.cpp b/clang/unittests/Format/CleanupTest.cpp index 6ac5f695d43..e554a819127 100644 --- a/clang/unittests/Format/CleanupTest.cpp +++ b/clang/unittests/Format/CleanupTest.cpp @@ -292,7 +292,7 @@ protected: } inline std::string apply(StringRef Code, - const tooling::Replacements Replaces) { + const tooling::Replacements &Replaces) { auto CleanReplaces = cleanupAroundReplacements(Code, Replaces, Style); EXPECT_TRUE(static_cast<bool>(CleanReplaces)) << llvm::toString(CleanReplaces.takeError()) << "\n"; @@ -302,8 +302,7 @@ protected: } inline std::string formatAndApply(StringRef Code, - const tooling::Replacements Replaces) { - + const tooling::Replacements &Replaces) { auto CleanReplaces = cleanupAroundReplacements(Code, Replaces, Style); EXPECT_TRUE(static_cast<bool>(CleanReplaces)) << llvm::toString(CleanReplaces.takeError()) << "\n"; |