diff options
author | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2014-10-02 09:56:07 +0000 |
---|---|---|
committer | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2014-10-02 09:56:07 +0000 |
commit | fcd41ce5ae1213b7feda558f2cc13b19e2fce90d (patch) | |
tree | c0f554418256727db755d7be4caa0545e17922bf /clang/lib/Driver/Tools.h | |
parent | 2570e48a30d97d527b07082374dbe18bdadd2b7e (diff) | |
download | bcm5719-llvm-fcd41ce5ae1213b7feda558f2cc13b19e2fce90d.tar.gz bcm5719-llvm-fcd41ce5ae1213b7feda558f2cc13b19e2fce90d.zip |
[ARM] Handle conflicts between -mfpu and -mfloat-abi options.
Summary: This patch implements warnings/downgradable errors for
invalid -mfpu, -mfloat-abi option combinations (e.g. -mfpu=none
-mfloat-abi=hard).
Change-Id: I94fa664e1bc0b5855ad835abd7a50a3e0395632d
llvm-svn: 218863
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r-- | clang/lib/Driver/Tools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h index 8ab145652bb..6b443baed5d 100644 --- a/clang/lib/Driver/Tools.h +++ b/clang/lib/Driver/Tools.h @@ -614,7 +614,8 @@ namespace visualstudio { namespace arm { StringRef getARMFloatABI(const Driver &D, const llvm::opt::ArgList &Args, - const llvm::Triple &Triple); + const llvm::Triple &Triple, + bool *ExplicitNoFloat = NULL); } namespace XCore { // For XCore, we do not need to instantiate tools for PreProcess, PreCompile and Compile. |