reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
53 std::swap(preg, regex.preg); 53 std::swap(preg, regex.preg);lib/Support/Regex.cpp
30 preg = new llvm_regex(); 31 preg->re_endp = regex.end(); 38 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); 42 preg = regex.preg; 42 preg = regex.preg; 44 regex.preg = nullptr; 49 if (preg) { 50 llvm_regfree(preg); 51 delete preg; 72 RegexErrorToString(error, preg, Error); 79 return preg->re_nsub; 92 unsigned nmatch = Matches ? preg->re_nsub+1 : 0; 100 int rc = llvm_regexec(preg, String.data(), nmatch, pm.data(), REG_STARTEND); 108 RegexErrorToString(error, preg, *Error);