Home | History | Annotate | Download | only in Support

Lines Matching refs:Error

32   error = llvm_regcomp(preg, regex.data(), flags|REG_PEND);
42 bool Regex::isValid(std::string &Error) {
43 if (!error)
46 size_t len = llvm_regerror(error, preg, nullptr, 0);
48 Error.resize(len - 1);
49 llvm_regerror(error, preg, &Error[0], len);
74 error = rc;
99 std::string *Error) {
102 // Reset error, if given.
103 if (Error && !Error->empty()) *Error = "";
124 Error && Error->empty())
125 *Error = "replacement string contained trailing backslash";
161 else if (Error && Error->empty())
162 *Error = ("invalid backreference string '" + Twine(Ref) + "'").str();