aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2012-10-31 18:51:07 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2012-10-31 18:51:07 +0000
commitcfed8283c3aeb03ddd837411467d19e250068d39 (patch)
treed6359048614b36df703f5ef1a8e9bf4de86ea500 /lib/Driver/Tools.h
parent30280389d108a5a781e45b8cfd1aa14bed3920d4 (diff)
getArchTypeForDarwinArchName is only used in the clang driver, copy it there.
I will remove it from llvm in the next commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.h')
-rw-r--r--lib/Driver/Tools.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h
index 9d0778b22f..5898c660a4 100644
--- a/lib/Driver/Tools.h
+++ b/lib/Driver/Tools.h
@@ -202,6 +202,8 @@ namespace hexagon {
namespace darwin {
+ llvm::Triple::ArchType getArchTypeForDarwinArchName(StringRef Str);
+
class LLVM_LIBRARY_VISIBILITY DarwinTool : public Tool {
virtual void anchor();
protected: