forked from OSchip/llvm-project
Qualify string in OpDefinitionsGen. NFC.
PiperOrigin-RevId: 240188138
This commit is contained in:
parent
5de726f493
commit
c8a311a788
|
@ -227,7 +227,7 @@ void OpMethodSignature::writeDefTo(raw_ostream &os,
|
|||
// initializers. This is incorrect for initializer list with more than one
|
||||
// element. Change to a more robust approach.
|
||||
auto removeParamDefaultValue = [](StringRef params) {
|
||||
string result;
|
||||
std::string result;
|
||||
std::pair<StringRef, StringRef> parts;
|
||||
while (!params.empty()) {
|
||||
parts = params.split("=");
|
||||
|
|
Loading…
Reference in New Issue