diff options
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/ADT/Triple.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/ADT/Triple.h b/include/llvm/ADT/Triple.h index 1b2a323..bf4dfee 100644 --- a/include/llvm/ADT/Triple.h +++ b/include/llvm/ADT/Triple.h @@ -160,6 +160,8 @@ public: /// @name Direct Component Access /// @{ + const std::string &str() const { return Data; } + const std::string &getTriple() const { return Data; } /// getArchName - Get the architecture (first) component of the |