Lines Matching refs:SourceMgr

141                     SourceMgr &SM,
155 void PrintFailureInfo(const SourceMgr &SM, StringRef Buffer,
164 bool AddRegExToRegEx(StringRef RS, unsigned &CurParen, SourceMgr &SM);
182 size_t FindRegexVarEnd(StringRef Str, SourceMgr &SM);
188 SourceMgr &SM, in ParsePattern()
202 SM.PrintMessage(PatternLoc, SourceMgr::DK_Error, in ParsePattern()
235 SourceMgr::DK_Error, in ParsePattern()
267 SourceMgr::DK_Error, in ParsePattern()
280 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern()
293 SourceMgr::DK_Error, in ParsePattern()
303 SourceMgr::DK_Error, "invalid name in named regex"); in ParsePattern()
310 SM.PrintMessage(SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error, in ParsePattern()
323 SourceMgr::DK_Error, in ParsePattern()
363 SourceMgr &SM) { in AddRegExToRegEx()
367 SM.PrintMessage(SMLoc::getFromPointer(RS.data()), SourceMgr::DK_Error, in AddRegExToRegEx()
493 void Pattern::PrintFailureInfo(const SourceMgr &SM, StringRef Buffer, in PrintFailureInfo()
526 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in PrintFailureInfo()
565 SourceMgr::DK_Note, "possible intended match here"); in PrintFailureInfo()
572 size_t Pattern::FindRegexVarEnd(StringRef Str, SourceMgr &SM) { in FindRegexVarEnd()
595 SourceMgr::DK_Error, in FindRegexVarEnd()
639 size_t Check(const SourceMgr &SM, StringRef Buffer, bool IsLabelScanMode,
643 bool CheckNext(const SourceMgr &SM, StringRef Buffer) const;
646 bool CheckSame(const SourceMgr &SM, StringRef Buffer) const;
649 bool CheckNot(const SourceMgr &SM, StringRef Buffer,
654 size_t CheckDag(const SourceMgr &SM, StringRef Buffer,
866 static bool ReadCheckFile(SourceMgr &SM, in ReadCheckFile()
934 SourceMgr::DK_Error, in ReadCheckFile()
957 SourceMgr::DK_Error, in ReadCheckFile()
970 SourceMgr::DK_Error, in ReadCheckFile()
1015 static void PrintCheckFailed(const SourceMgr &SM, SMLoc Loc, in PrintCheckFailed()
1019 SM.PrintMessage(Loc, SourceMgr::DK_Error, in PrintCheckFailed()
1026 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in PrintCheckFailed()
1033 static void PrintCheckFailed(const SourceMgr &SM, const CheckString &CheckStr, in PrintCheckFailed()
1063 size_t CheckString::Check(const SourceMgr &SM, StringRef Buffer, in Check()
1112 bool CheckString::CheckNext(const SourceMgr &SM, StringRef Buffer) const { in CheckNext()
1127 SM.PrintMessage(Loc, SourceMgr::DK_Error, Prefix + in CheckNext()
1130 SourceMgr::DK_Note, "'next' match was here"); in CheckNext()
1131 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in CheckNext()
1137 SM.PrintMessage(Loc, SourceMgr::DK_Error, Prefix + in CheckNext()
1140 SourceMgr::DK_Note, "'next' match was here"); in CheckNext()
1141 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in CheckNext()
1143 SM.PrintMessage(SMLoc::getFromPointer(FirstNewLine), SourceMgr::DK_Note, in CheckNext()
1151 bool CheckString::CheckSame(const SourceMgr &SM, StringRef Buffer) const { in CheckSame()
1166 SM.PrintMessage(Loc, SourceMgr::DK_Error, in CheckSame()
1169 SM.PrintMessage(SMLoc::getFromPointer(Buffer.end()), SourceMgr::DK_Note, in CheckSame()
1171 SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Note, in CheckSame()
1179 bool CheckString::CheckNot(const SourceMgr &SM, StringRef Buffer, in CheckNot()
1191 SourceMgr::DK_Error, in CheckNot()
1193 SM.PrintMessage(Pat->getLoc(), SourceMgr::DK_Note, in CheckNot()
1201 size_t CheckString::CheckDag(const SourceMgr &SM, StringRef Buffer, in CheckDag()
1240 SourceMgr::DK_Error, in CheckDag()
1244 SourceMgr::DK_Note, in CheckDag()
1247 SM.PrintMessage(NotStrings[0]->getLoc(), SourceMgr::DK_Note, in CheckDag()
1250 SM.PrintMessage(Pat.getLoc(), SourceMgr::DK_Note, in CheckDag()
1327 SourceMgr SM; in main()