llvm.org GIT mirror llvm / 03973a1
[TableGen] Make StringInit constructor take a StringRef instead of const std::string&. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244426 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
546546 class StringInit : public TypedInit {
547547 std::string Value;
548548
549 explicit StringInit(const std::string &V)
549 explicit StringInit(StringRef V)
550550 : TypedInit(IK_StringInit, StringRecTy::get()), Value(V) {}
551551
552552 StringInit(const StringInit &Other) = delete;