summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2017-04-21 14:30:01 +0000
committerKrasimir Georgiev <krasimir@google.com>2017-04-21 14:30:01 +0000
commit9152c27ed99dbb24dbea073f57863ead7e98643d (patch)
treeaac04a0423f35eb3f3ad205dc2dd37b942748105
parent72e24267997f3cfdbd2be3070ad1637e889993ee (diff)
[clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300983 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--unittests/Format/NamespaceEndCommentsFixerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Format/NamespaceEndCommentsFixerTest.cpp b/unittests/Format/NamespaceEndCommentsFixerTest.cpp
index 912638f456..6c2d369852 100644
--- a/unittests/Format/NamespaceEndCommentsFixerTest.cpp
+++ b/unittests/Format/NamespaceEndCommentsFixerTest.cpp
@@ -23,7 +23,7 @@ class NamespaceEndCommentsFixerTest : public ::testing::Test {
protected:
std::string
fixNamespaceEndComments(llvm::StringRef Code,
- std::vector<tooling::Range> Ranges,
+ const std::vector<tooling::Range> &Ranges,
const FormatStyle &Style = getLLVMStyle()) {
DEBUG(llvm::errs() << "---\n");
DEBUG(llvm::errs() << Code << "\n\n");