diff options
author | Alexander Kornienko <alexfh@google.com> | 2016-01-08 15:21:40 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2016-01-08 15:21:40 +0000 |
commit | b1b2f87e37774ee61dc5c6ea3aa04a99a1adda66 (patch) | |
tree | 9b89a8eff42185d0cd1039b45cc08fd41c903610 /clang-tools-extra/test/clang-tidy/google-namespaces.cpp | |
parent | 0e04f6c30f6ac9684c76f9637101203f46700f34 (diff) | |
download | bcm5719-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/test/clang-tidy/google-namespaces.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-tidy/google-namespaces.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/test/clang-tidy/google-namespaces.cpp b/clang-tools-extra/test/clang-tidy/google-namespaces.cpp index 12c0b2ddcde..891aee3951a 100644 --- a/clang-tools-extra/test/clang-tidy/google-namespaces.cpp +++ b/clang-tools-extra/test/clang-tidy/google-namespaces.cpp @@ -1,8 +1,8 @@ // RUN: clang-tidy %s -checks='-*,google-build-namespaces,google-build-using-namespace' -header-filter='.*' -- | FileCheck %s -implicit-check-not="{{warning|error}}:" #include "Inputs/google-namespaces.h" -// CHECK: warning: do not use unnamed namespaces in header files. +// CHECK: warning: do not use unnamed namespaces in header files [google-build-namespaces] using namespace spaaaace; -// CHECK: :[[@LINE-1]]:1: warning: do not use namespace using-directives. Use using-declarations instead. +// CHECK: :[[@LINE-1]]:1: warning: do not use namespace using-directives; use using-declarations instead [google-build-using-namespace] using spaaaace::core; // no-warning |