Searched refs:RegexStr (Results 1 – 2 of 2) sorted by relevance
185 std::string RegexStr; in escape() local188 RegexStr += '\\'; in escape()189 RegexStr += String[i]; in escape()192 return RegexStr; in escape()
184 StringRef RegexStr) in RegexDirective() argument186 Regex(RegexStr) { } in RegexDirective()899 std::string RegexStr; in create() local907 RegexStr += "("; in create()908 RegexStr.append(S.data(), RegexMatchLength); in create()909 RegexStr += ")"; in create()916 RegexStr += llvm::Regex::escape(S.substr(0, VerbatimMatchLength)); in create()922 DirectiveLoc, DiagnosticLoc, MatchAnyLine, Text, Min, Max, RegexStr); in create()