GCC compatibility: Create a Group to ignore unsupported optimization.
authorSylvestre Ledru <sylvestre@debian.org>
Fri, 11 Jul 2014 11:43:57 +0000 (11:43 +0000)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 11 Jul 2014 11:43:57 +0000 (11:43 +0000)
commit2fe501eef908009cfeb28412b4a98419be1e574b
treeffc1f830886d3a709c15e3292853461fd3004ac8
parent9c2e8ee72fe8c99a016a204a2f2b167cd17e188a
GCC compatibility: Create a Group to ignore unsupported optimization.

Returns a warning when using an unknown optimization flag.
This patch includes -finline-limit as one of those ignored flags.
More options will be moved in this group

Patch by Arthur Marble <arthur@info9.net> in the context of
Debian Google Summer of code 2014.

Reviewers: rnk, Sylvestre
llvm-svn: 212805
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/include/clang/Driver/Options.td
clang/lib/Driver/Tools.cpp
clang/test/Driver/clang_f_opts.c