]> granicus.if.org Git - clang/commit
Unpluralize -Wfoo-conversions warnings for consistency.
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 15 Mar 2012 05:09:31 +0000 (05:09 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 15 Mar 2012 05:09:31 +0000 (05:09 +0000)
commit1d23c4219527d9a2bc75f5cdb1ffcaefb8bcc61b
treea55943f0777341585cba9610b9c3ab0b721c6e29
parent5cfc7d85fe13f144c9a8b264d6de9d38dfebc383
Unpluralize -Wfoo-conversions warnings for consistency.

Err on the side of brevity and rename (while providing aliases for the original
name) -Wbool-conversions, -Wint-conversions, and -Wvector-conversions for
consistency with constant, literal, string, and sign conversion warnings. And
name the diagnostic groups explicitly while I'm here rather than rewriting the
string in the groups and sema td files.

Curiously, vector-conversion is not under -Wconversion. Perhaps it should be.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152776 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
test/CXX/over/over.over/p2-resolve-single-template-id.cpp
test/Misc/serialized-diags.c
test/Sema/arm-neon-types.c
test/Sema/vector-assign.c
test/Sema/vector-cast.c
test/Sema/vector-ops.c