diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-04-04 22:13:40 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-04-04 22:13:40 +0000 |
commit | 30fe6baf95662ea82a794a8fe3b76998713c183d (patch) | |
tree | 20a1f669e57e37bd2e55429ee3886125a4258ef5 /include | |
parent | 397f32712369bfed739fe3cb180604b472b41942 (diff) |
[driver] When using the -mfpmath= option, add an error message when trying to
enable neonfp on a CPU that doesn't support NEON.
rdar://11108618
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154061 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Basic/DiagnosticDriverKinds.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/clang/Basic/DiagnosticDriverKinds.td b/include/clang/Basic/DiagnosticDriverKinds.td index a66e9f7e5a..b44315932c 100644 --- a/include/clang/Basic/DiagnosticDriverKinds.td +++ b/include/clang/Basic/DiagnosticDriverKinds.td @@ -71,6 +71,8 @@ def err_drv_invalid_mfloat_abi : Error< "invalid float ABI '%0'">; def err_drv_invalid_libcxx_deployment : Error< "invalid deployment target for -stdlib=libc++ (requires %0 or later)">; +def err_drv_invalid_feature : Error< + "invalid feature '%0' for CPU '%1'">; def err_drv_I_dash_not_supported : Error< "'%0' not supported, please use -iquote instead">; |