From: Krasimir Georgiev Date: Fri, 21 Apr 2017 14:30:01 +0000 (+0000) Subject: [clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9152c27ed99dbb24dbea073f57863ead7e98643d;p=clang [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 --- 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 Ranges, + const std::vector &Ranges, const FormatStyle &Style = getLLVMStyle()) { DEBUG(llvm::errs() << "---\n"); DEBUG(llvm::errs() << Code << "\n\n");