[TableGen] Make StringInit constructor take a StringRef instead of const std::string&. NFC.

llvm-svn: 244426
This commit is contained in:
Craig Topper 2015-08-09 22:03:04 +00:00
parent 107db55ac4
commit f70694fd86
1 changed files with 1 additions and 1 deletions

View File

@ -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;