Searched refs:PatternStr (Results 1 – 1 of 1) sorted by relevance
126 bool ParsePattern(StringRef PatternStr,173 bool Pattern::ParsePattern(StringRef PatternStr, in ParsePattern() argument178 PatternLoc = SMLoc::getFromPointer(PatternStr.data()); in ParsePattern()181 while (!PatternStr.empty() && in ParsePattern()182 (PatternStr.back() == ' ' || PatternStr.back() == '\t')) in ParsePattern()183 PatternStr = PatternStr.substr(0, PatternStr.size()-1); in ParsePattern()186 if (PatternStr.empty()) { in ParsePattern()194 if (PatternStr.size() < 2 || in ParsePattern()195 (PatternStr.find("{{") == StringRef::npos && in ParsePattern()196 PatternStr.find("[[") == StringRef::npos)) { in ParsePattern()[all …]