Browse Source

[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
Krasimir Georgiev 8 years ago
parent
commit
9152c27ed9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      unittests/Format/NamespaceEndCommentsFixerTest.cpp

+ 1 - 1
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");