summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
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
commit850f689e820656bf8891b570aaef9d328cb19ec2 (patch)
tree0e048fdbd90aa44bf9dc87e7f94cd8da01514b92 /clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
parent531dbc7c17f58ed0df9366aff9615a80559eeaf2 (diff)
downloadbcm5719-llvm-850f689e820656bf8891b570aaef9d328cb19ec2.tar.gz
bcm5719-llvm-850f689e820656bf8891b570aaef9d328cb19ec2.zip
[clang-format] Clang-tidy cleanup of NamespaceEndCommentFixerTest.cpp, NFC
llvm-svn: 300983
Diffstat (limited to 'clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp')
-rw-r--r--clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp b/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
index 912638f4565..6c2d3698529 100644
--- a/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp
+++ b/clang/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");
OpenPOWER on IntegriCloud