summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/google-runtime-member-string-references.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/google-runtime-member-string-references.cpp')
-rw-r--r--clang-tools-extra/test/clang-tidy/google-runtime-member-string-references.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clang-tidy/google-runtime-member-string-references.cpp b/clang-tools-extra/test/clang-tidy/google-runtime-member-string-references.cpp
index b153149ca39..64553c27f79 100644
--- a/clang-tools-extra/test/clang-tidy/google-runtime-member-string-references.cpp
+++ b/clang-tools-extra/test/clang-tidy/google-runtime-member-string-references.cpp
@@ -12,7 +12,7 @@ class string {};
struct A {
const std::string &s;
-// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: const string& members are dangerous. It is much better to use alternatives, such as pointers or simple constants. [google-runtime-member-string-references]
+// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: const string& members are dangerous; it is much better to use alternatives, such as pointers or simple constants [google-runtime-member-string-references]
};
struct B {
@@ -28,14 +28,14 @@ struct D {
D();
const T &s;
const std::string &s2;
-// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: const string& members are dangerous.
+// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: const string& members are dangerous
};
D<std::string> d;
struct AA {
const string &s;
-// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: const string& members are dangerous.
+// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: const string& members are dangerous
};
struct BB {
OpenPOWER on IntegriCloud