Lines Matching refs:Edit
101 StringRef Edit, in ApplyOneQAOverride() argument
105 if (Edit[0] == '^') { in ApplyOneQAOverride()
107 GetStableCStr(SavedStrings, Edit.substr(1)); in ApplyOneQAOverride()
110 } else if (Edit[0] == '+') { in ApplyOneQAOverride()
112 GetStableCStr(SavedStrings, Edit.substr(1)); in ApplyOneQAOverride()
115 } else if (Edit[0] == 's' && Edit[1] == '/' && Edit.endswith("/") && in ApplyOneQAOverride()
116 Edit.slice(2, Edit.size()-1).find('/') != StringRef::npos) { in ApplyOneQAOverride()
117 StringRef MatchPattern = Edit.substr(2).split('/').first; in ApplyOneQAOverride()
118 StringRef ReplPattern = Edit.substr(2).split('/').second; in ApplyOneQAOverride()
132 } else if (Edit[0] == 'x' || Edit[0] == 'X') { in ApplyOneQAOverride()
133 auto Option = Edit.substr(1); in ApplyOneQAOverride()
138 if (Edit[0] == 'X') { in ApplyOneQAOverride()
148 } else if (Edit[0] == 'O') { in ApplyOneQAOverride()
163 OS << "### Adding argument " << Edit << " at end\n"; in ApplyOneQAOverride()
164 Args.push_back(GetStableCStr(SavedStrings, '-' + Edit.str())); in ApplyOneQAOverride()
166 OS << "### Unrecognized edit: " << Edit << "\n"; in ApplyOneQAOverride()