summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-07-17 10:05:26 +0000
committerAlexander Kornienko <alexfh@google.com>2014-07-17 10:05:26 +0000
commit834609d80b9c366ae141dcd6dbda62279a8b0859 (patch)
tree9c825724b5e7629b1d177389a6113c670650ccfc
parent7f70573ed99e5cc38a42776fea6bbe2636cd2afb (diff)
downloadbcm5719-llvm-834609d80b9c366ae141dcd6dbda62279a8b0859.tar.gz
bcm5719-llvm-834609d80b9c366ae141dcd6dbda62279a8b0859.zip
Make the diagnostic message more complete to check the check name.
llvm-svn: 213245
-rw-r--r--clang-tools-extra/test/clang-tidy/diagnostic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/diagnostic.cpp b/clang-tools-extra/test/clang-tidy/diagnostic.cpp
index eaa5189cfc6..406ec83d5d9 100644
--- a/clang-tools-extra/test/clang-tidy/diagnostic.cpp
+++ b/clang-tools-extra/test/clang-tidy/diagnostic.cpp
@@ -10,7 +10,7 @@
// CHECK1: error: error reading '{{.*}}.nonexistent.cpp' [clang-diagnostic-error]
// CHECK2: error: unknown argument: '-fan-unknown-option' [clang-diagnostic-error]
-// CHECK2: :[[@LINE+2]]:9: warning: implicit conversion from 'double' to 'int' changes value
+// CHECK2: :[[@LINE+2]]:9: warning: implicit conversion from 'double' to 'int' changes value from 1.5 to 1 [clang-diagnostic-literal-conversion]
// CHECK3: :[[@LINE+1]]:9: warning: implicit conversion from 'double' to 'int' changes value
int a = 1.5;
OpenPOWER on IntegriCloud