Commit 0e8f630
committed
[ARM] Improve arm_neon.h header diagnostic when included on unsupported targets
The footgun here was that the preprocessor diagnostic that looks for __ARM_FP
would fire when included on targets like x86_64, but the suggestion it gives in
that case is totally bogus. Avoid giving bad advice, by first checking whether
we're being built for an appropriate target, and only then do the soft-fp
check.
rdar://1554496661 parent d5da826 commit 0e8f630
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2417 | 2417 | | |
2418 | 2418 | | |
2419 | 2419 | | |
2420 | | - | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
2421 | 2423 | | |
2422 | 2424 | | |
2423 | 2425 | | |
| |||
0 commit comments