Home | History | Annotate | Download | only in TableGen

Lines Matching refs:Loc

25 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind,
33 if (Loc.empty())
34 Loc = NullLoc;
35 SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
36 for (unsigned i = 1; i < Loc.size(); ++i)
37 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note,
45 void PrintWarning(const char *Loc, const Twine &Msg) {
46 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
57 void PrintError(const char *Loc, const Twine &Msg) {
58 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);