Lines Matching refs:Edit
108 StringRef Edit, in ApplyOneQAOverride() argument
112 if (Edit[0] == '^') { in ApplyOneQAOverride()
114 GetStableCStr(SavedStrings, Edit.substr(1)); in ApplyOneQAOverride()
117 } else if (Edit[0] == '+') { in ApplyOneQAOverride()
119 GetStableCStr(SavedStrings, Edit.substr(1)); in ApplyOneQAOverride()
122 } else if (Edit[0] == 's' && Edit[1] == '/' && Edit.endswith("/") && in ApplyOneQAOverride()
123 Edit.slice(2, Edit.size()-1).find('/') != StringRef::npos) { in ApplyOneQAOverride()
124 StringRef MatchPattern = Edit.substr(2).split('/').first; in ApplyOneQAOverride()
125 StringRef ReplPattern = Edit.substr(2).split('/').second; in ApplyOneQAOverride()
139 } else if (Edit[0] == 'x' || Edit[0] == 'X') { in ApplyOneQAOverride()
140 auto Option = Edit.substr(1); in ApplyOneQAOverride()
145 if (Edit[0] == 'X') { in ApplyOneQAOverride()
155 } else if (Edit[0] == 'O') { in ApplyOneQAOverride()
170 OS << "### Adding argument " << Edit << " at end\n"; in ApplyOneQAOverride()
171 Args.push_back(GetStableCStr(SavedStrings, '-' + Edit.str())); in ApplyOneQAOverride()
173 OS << "### Unrecognized edit: " << Edit << "\n"; in ApplyOneQAOverride()