summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/target-features-error-2.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for the always_inline + target feature diagnostic to printEric Christopher2015-11-141-1/+1
| | | | | | | out the first missing target feature that's required and reword the diagnostic accordingly. llvm-svn: 253121
* Provide a frontend based error for always_inline functions that requireEric Christopher2015-11-121-0/+7
target features that the caller function doesn't provide. This matches the existing backend failure to inline functions that don't have matching target features - and diagnoses earlier in the case of always_inline. Fix up a few test cases that were, in fact, invalid if you tried to generate code from the backend with the specified target features and add a couple of tests to illustrate what's going on. This should fix PR25246. llvm-svn: 252834
OpenPOWER on IntegriCloud