[clang-tools-extra] r213245 - Make the diagnostic message more complete to check the check name.
Alexander Kornienko
alexfh at google.com
Thu Jul 17 03:05:26 PDT 2014
Author: alexfh
Date: Thu Jul 17 05:05:26 2014
New Revision: 213245
URL: http://llvm.org/viewvc/llvm-project?rev=213245&view=rev
Log:
Make the diagnostic message more complete to check the check name.
Modified:
clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp
Modified: clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp?rev=213245&r1=213244&r2=213245&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/diagnostic.cpp Thu Jul 17 05:05:26 2014
@@ -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;
More information about the cfe-commits
mailing list