Home
last modified time | relevance | path

Searched refs:strToProcess (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/mlir/lib/IR/
H A DDiagnostics.cpp621 StringRef strToProcess = substring; in computeRegex() local
622 while (!strToProcess.empty()) { in computeRegex()
624 size_t regexIt = strToProcess.find("{{"); in computeRegex()
626 regexOS << llvm::Regex::escape(strToProcess); in computeRegex()
629 regexOS << llvm::Regex::escape(strToProcess.take_front(regexIt)); in computeRegex()
630 strToProcess = strToProcess.drop_front(regexIt + 2); in computeRegex()
633 size_t regexEndIt = strToProcess.find("}}"); in computeRegex()
636 StringRef regexStr = strToProcess.take_front(regexEndIt); in computeRegex()
644 strToProcess = strToProcess.drop_front(regexEndIt + 2); in computeRegex()