From 834609d80b9c366ae141dcd6dbda62279a8b0859 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Thu, 17 Jul 2014 10:05:26 +0000 Subject: [PATCH] Make the diagnostic message more complete to check the check name. llvm-svn: 213245 --- clang-tools-extra/test/clang-tidy/diagnostic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang-tools-extra/test/clang-tidy/diagnostic.cpp b/clang-tools-extra/test/clang-tidy/diagnostic.cpp index eaa5189..406ec83 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; -- 2.7.4