diff options
author | David Blaikie <dblaikie@gmail.com> | 2012-03-15 05:09:31 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2012-03-15 05:09:31 +0000 |
commit | 1d23c4219527d9a2bc75f5cdb1ffcaefb8bcc61b (patch) | |
tree | a55943f0777341585cba9610b9c3ab0b721c6e29 /test/Sema/vector-ops.c | |
parent | 5cfc7d85fe13f144c9a8b264d6de9d38dfebc383 (diff) |
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
Diffstat (limited to 'test/Sema/vector-ops.c')
-rw-r--r-- | test/Sema/vector-ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/vector-ops.c b/test/Sema/vector-ops.c index c3f84aae40..3ab75d0e11 100644 --- a/test/Sema/vector-ops.c +++ b/test/Sema/vector-ops.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 %s -verify -fsyntax-only -Wvector-conversions +// RUN: %clang_cc1 %s -verify -fsyntax-only -Wvector-conversion typedef unsigned int v2u __attribute__ ((vector_size (8))); typedef int v2s __attribute__ ((vector_size (8))); typedef float v2f __attribute__ ((vector_size(8))); |