]> granicus.if.org Git - clang/commitdiff
[clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC
authorKrasimir Georgiev <krasimir@google.com>
Fri, 21 Apr 2017 14:30:01 +0000 (14:30 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Fri, 21 Apr 2017 14:30:01 +0000 (14:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300983 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Format/NamespaceEndCommentsFixerTest.cpp

index 912638f456525241e8beb349e452b61743d13fa0..6c2d369852904e385717402097e83193921113af 100644 (file)
@@ -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");