summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/TextAPI/MachO/Target.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/TextAPI/MachO/Target.h')
-rw-r--r--llvm/include/llvm/TextAPI/MachO/Target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/TextAPI/MachO/Target.h b/llvm/include/llvm/TextAPI/MachO/Target.h
index 74e900d812f..5fe44cb7d36 100644
--- a/llvm/include/llvm/TextAPI/MachO/Target.h
+++ b/llvm/include/llvm/TextAPI/MachO/Target.h
@@ -29,6 +29,8 @@ public:
explicit Target(const llvm::Triple &Triple)
: Arch(mapToArchitecture(Triple)), Platform(mapToPlatformKind(Triple)) {}
+ static llvm::Expected<Target> create(StringRef Target);
+
operator std::string() const;
Architecture Arch;
OpenPOWER on IntegriCloud