projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39ae3ff
)
Add Triple::str() which returns the contents of the Triple as a string, as a more...
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 11 Nov 2009 00:43:14 +0000
(
00:43
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 11 Nov 2009 00:43:14 +0000
(
00:43
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86773
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/ADT/Triple.h
patch
|
blob
|
history
diff --git
a/include/llvm/ADT/Triple.h
b/include/llvm/ADT/Triple.h
index 1b2a323b4e8c9ac56db208abe3d48d830a242c90..bf4dfee71473b8b9251e34ac25f9cf3add65b718 100644
(file)
--- 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