Add a warning for unsupported elements of the target attribute.
authorEric Christopher <echristo@gmail.com>
Fri, 12 Jun 2015 01:36:05 +0000 (01:36 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 12 Jun 2015 01:36:05 +0000 (01:36 +0000)
commit789a7ad1a85569f004688246d48f4df04bee9fea
tree412953b91e18f35aa5db3a5475cba8be5e3b3569
parent249e3762e513e45a0d05954c4a3c0a89f5371237
Add a warning for unsupported elements of the target attribute.

Since we're ignoring the tune= and fpmath= attributes go ahead
and add a warning alerting people to the fact that we're going
to ignore that part of it during code generation and tie it to
the attribute warning set.

llvm-svn: 239583
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/Sema/attr-target.c