summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2014-07-16 12:29:22 +0000
committerSimon Atanasyan <simon@atanasyan.com>2014-07-16 12:29:22 +0000
commit7018e1dbb5eb70df46670df5641ce822f2108218 (patch)
tree891024802ac76c55b748f9a99d0a7bf6de060205 /clang/lib/Driver/Tools.h
parent18d6ad2705ca2993360ea04edf5f44d3a876f051 (diff)
downloadbcm5719-llvm-7018e1dbb5eb70df46670df5641ce822f2108218.tar.gz
bcm5719-llvm-7018e1dbb5eb70df46670df5641ce822f2108218.zip
[Driver][Mips] Reduce code duplication - use existing function
getMipsCPUAndABI() to get MIPS ABI name during multi-library selection. No functional changes. llvm-svn: 213143
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r--clang/lib/Driver/Tools.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h
index 476c1872c80..4c89676e0e1 100644
--- a/clang/lib/Driver/Tools.h
+++ b/clang/lib/Driver/Tools.h
@@ -217,6 +217,9 @@ namespace arm {
}
namespace mips {
+ void getMipsCPUAndABI(const llvm::opt::ArgList &Args,
+ const llvm::Triple &Triple, StringRef &CPUName,
+ StringRef &ABIName);
bool hasMipsAbiArg(const llvm::opt::ArgList &Args, const char *Value);
bool isNaN2008(const llvm::opt::ArgList &Args, const llvm::Triple &Triple);
bool isFPXXDefault(const llvm::Triple &Triple, StringRef CPUName,
OpenPOWER on IntegriCloud