diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-03-15 20:48:26 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-03-15 20:48:26 +0000 |
commit | 2b2bbee3071cee1b03520d9bf0c80c4f0bbe60eb (patch) | |
tree | 517a88fc08ba9c7a61a5548c85a86c338e798484 /include/clang/Basic/DiagnosticSemaKinds.td | |
parent | 4c14881e86350c8aa12d5182d35ce07860de2325 (diff) |
Provide the specific target type in the -Wnull-conversion warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/DiagnosticSemaKinds.td')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index b4fd66d592..1efa4f2f17 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -1731,7 +1731,7 @@ def warn_impcast_bool_to_null_pointer : Warning< "initialization of pointer of type %0 to null from a constant boolean " "expression">, InGroup<BoolConversion>; def warn_impcast_null_pointer_to_integer : Warning< - "implicit conversion of NULL constant to integer">, + "implicit conversion of NULL constant to %0">, InGroup<NullConversion>; def warn_impcast_function_to_bool : Warning< "address of function %q0 will always evaluate to 'true'">, |