forked from OSchip/llvm-project
[TableGen] Make StringInit constructor take a StringRef instead of const std::string&. NFC.
llvm-svn: 244426
This commit is contained in:
parent
107db55ac4
commit
f70694fd86
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue