Change the diagnostic group for unsupported gcc optimizations added r212805
authorAlp Toker <alp@nuanti.com>
Mon, 14 Jul 2014 18:11:38 +0000 (18:11 +0000)
committerAlp Toker <alp@nuanti.com>
Mon, 14 Jul 2014 18:11:38 +0000 (18:11 +0000)
commit86f6934e27e9506b0b30c8f3fa23a017a0a50784
treedfdfbb75b67eb0109d8c732ac0730e1cae4e07bc
parentd0d6c0b4c9e9ea2524465104f946c09e862d0388
Change the diagnostic group for unsupported gcc optimizations added r212805

Use -Winvalid-command-line-argument here to align with existing gcc opt
diagnostics. Meanwhile -Wunused-command-line-argument is for flags that we
support but were, say, fed into the wrong invocation.

Also tweak wording to make sense with -Werror.

llvm-svn: 212964
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/test/Driver/clang_f_opts.c