]> granicus.if.org Git - clang/commit
Avoid non-attributive uses of 'unsupported' in diagnostics
authorAlp Toker <alp@nuanti.com>
Mon, 14 Jul 2014 19:16:22 +0000 (19:16 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 14 Jul 2014 19:16:22 +0000 (19:16 +0000)
commit8e53f7b9be2299c6d7e71221f5ed5b86ee7222d8
tree741edd6038aeeb775ac48c35961d62ef633ffbf1
parent2b354381fe75a8e890c0ceccc22ae4793db3182d
Avoid non-attributive uses of 'unsupported' in diagnostics

We don't have a style guide for diagnostic messages, but convention strongly
favours the forms:

  'attribute is not supported', 'unsupported attribute'

We generally avoid:

  'attribute is unsupported', 'non-supported attribute'

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212972 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticDriverKinds.td
include/clang/Basic/DiagnosticSemaKinds.td
test/Driver/clang_f_opts.c
test/Frontend/invalid-o-level.c
test/SemaCXX/dllexport.cpp
test/SemaCXX/dllimport.cpp