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:
964343c
)
[TableGen] Make StringInit constructor take a StringRef instead of const std::string...
author
Craig Topper
<craig.topper@gmail.com>
Sun, 9 Aug 2015 22:03:04 +0000
(22:03 +0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 9 Aug 2015 22:03:04 +0000
(22:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244426
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/TableGen/Record.h
patch
|
blob
|
history
diff --git
a/include/llvm/TableGen/Record.h
b/include/llvm/TableGen/Record.h
index b4642c991192e96fc48a13f6682a4bfb5e6d978f..67fee436bad899663ddc4c0026c8df13018e358f 100644
(file)
--- a/
include/llvm/TableGen/Record.h
+++ b/
include/llvm/TableGen/Record.h
@@
-547,7
+547,7
@@
public:
class StringInit : public TypedInit {
std::string Value;
- explicit StringInit(
const std::string &
V)
+ explicit StringInit(
StringRef
V)
: TypedInit(IK_StringInit, StringRecTy::get()), Value(V) {}
StringInit(const StringInit &Other) = delete;