projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[TableGen] Make StringInit constructor take a StringRef instead of const std::string...
[oota-llvm.git]
/
include
/
llvm
/
TableGen
/
Record.h
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;