summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2016-01-08 15:21:40 +0000
committerAlexander Kornienko <alexfh@google.com>2016-01-08 15:21:40 +0000
commitb1b2f87e37774ee61dc5c6ea3aa04a99a1adda66 (patch)
tree9b89a8eff42185d0cd1039b45cc08fd41c903610 /clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp
parent0e04f6c30f6ac9684c76f9637101203f46700f34 (diff)
downloadbcm5719-llvm-b1b2f87e37774ee61dc5c6ea3aa04a99a1adda66.tar.gz
bcm5719-llvm-b1b2f87e37774ee61dc5c6ea3aa04a99a1adda66.zip
[clang-tidy] Use proper capitalization and punctuation for diagnostic messages.
Use diagnostic parameters where possible instead of string concatenation. llvm-svn: 257176
Diffstat (limited to 'clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp b/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp
index c4a0940e8d5..c4ac5a4b562 100644
--- a/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp
+++ b/clang-tools-extra/clang-tidy/google/UsingNamespaceDirectiveCheck.cpp
@@ -34,8 +34,8 @@ UsingNamespaceDirectiveCheck::check(const MatchFinder::MatchResult &Result) {
if (U->isImplicit() || !Loc.isValid())
return;
- diag(Loc, "do not use namespace using-directives. Use using-declarations "
- "instead.");
+ diag(Loc, "do not use namespace using-directives; "
+ "use using-declarations instead");
// TODO: We could suggest a list of using directives replacing the using
// namespace directive.
}
OpenPOWER on IntegriCloud