r300983 - [clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC

Krasimir Georgiev via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 21 07:30:01 PDT 2017


Author: krasimir
Date: Fri Apr 21 09:30:01 2017
New Revision: 300983

URL: http://llvm.org/viewvc/llvm-project?rev=300983&view=rev
Log:
[clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC

Modified:
    cfe/trunk/unittests/Format/NamespaceEndCommentsFixerTest.cpp

Modified: cfe/trunk/unittests/Format/NamespaceEndCommentsFixerTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/NamespaceEndCommentsFixerTest.cpp?rev=300983&r1=300982&r2=300983&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/NamespaceEndCommentsFixerTest.cpp (original)
+++ cfe/trunk/unittests/Format/NamespaceEndCommentsFixerTest.cpp Fri Apr 21 09:30:01 2017
@@ -23,7 +23,7 @@ class NamespaceEndCommentsFixerTest : pu
 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");




More information about the cfe-commits mailing list