forked from OSchip/llvm-project
Add Triple::str() which returns the contents of the Triple as a string, as a more readable alternative to getTriple().
llvm-svn: 86773
This commit is contained in:
parent
8b2d2d0707
commit
9169a37daf
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue