diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-09-19 20:40:16 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2015-09-19 20:40:16 +0000 |
commit | 06f6f995a1f9735d63608eea1fd83fb9d6e821fe (patch) | |
tree | 80f77fb28dfa58fb2fbd3ab508558438b397acc4 /clang/lib/Driver/Tools.h | |
parent | ce63ce947e2f0356f86a274ff4a53aab7c0034a1 (diff) | |
download | bcm5719-llvm-06f6f995a1f9735d63608eea1fd83fb9d6e821fe.tar.gz bcm5719-llvm-06f6f995a1f9735d63608eea1fd83fb9d6e821fe.zip |
Driver: alter the getARMFloatABI signature
This changes getARMFloatABI to use the ToolChain and Args instead of Driver,
Args, Triple. Although this pushes the Triple calculation/parsing into the
function itself, it enables the use of the function for a future change. The
reason to sink the triple calculation here is to avoid threading the Triple
through multiple layers in a future change.
llvm-svn: 248095
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r-- | clang/lib/Driver/Tools.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h index 2efcba7217a..532b1ce0a4d 100644 --- a/clang/lib/Driver/Tools.h +++ b/clang/lib/Driver/Tools.h @@ -724,8 +724,7 @@ enum class FloatABI { Hard, }; -FloatABI getARMFloatABI(const Driver &D, const llvm::opt::ArgList &Args, - const llvm::Triple &Triple); +FloatABI getARMFloatABI(const ToolChain &TC, const llvm::opt::ArgList &Args); } namespace XCore { // For XCore, we do not need to instantiate tools for PreProcess, PreCompile and |