summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-11-09 15:53:28 +0000
committerAlexander Kornienko <alexfh@google.com>2015-11-09 15:53:28 +0000
commit301130ef7cc5f2150e7babfaffd3b3366bf6481c (patch)
tree0e4317dd9f9df8a80f1e7b335980ad474b6144ea /clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
parent570100b306c863685287f742f7cd15e314eed5ee (diff)
downloadbcm5719-llvm-301130ef7cc5f2150e7babfaffd3b3366bf6481c.tar.gz
bcm5719-llvm-301130ef7cc5f2150e7babfaffd3b3366bf6481c.zip
[clang-tidy] Fix message style (capitalization, trailing period).
llvm-svn: 252471
Diffstat (limited to 'clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp b/clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
index 0e8064987ec..39002041bff 100644
--- a/clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
+++ b/clang-tools-extra/clang-tidy/readability/ContainerSizeEmptyCheck.cpp
@@ -152,9 +152,8 @@ void ContainerSizeEmptyCheck::check(const MatchFinder::MatchResult &Result) {
Hint = FixItHint::CreateReplacement(MemberCall->getSourceRange(),
"!" + ReplacementText);
}
- diag(MemberCall->getLocStart(),
- "The 'empty' method should be used to check for emptiness instead "
- "of 'size'.")
+ diag(MemberCall->getLocStart(), "the 'empty' method should be used to check "
+ "for emptiness instead of 'size'")
<< Hint;
}
OpenPOWER on IntegriCloud