reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/TableGen/Error.h
   36 extern SourceMgr SrcMgr;

References

lib/TableGen/Error.cpp
   36   SrcMgr.PrintMessage(Loc.front(), Kind, Msg);
   38     SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note,
   53   SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg);
   63   SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
lib/TableGen/Main.cpp
   94   SrcMgr.AddNewSourceBuffer(std::move(*FileOrErr), SMLoc());
   98   SrcMgr.setIncludeDirs(IncludeDirs);
  100   TGParser Parser(SrcMgr, MacroNames, Records);
tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
   62       SrcMgr.PrintMessage(Tag.getLoc().front(),
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  231         SrcMgr.PrintMessage((*DI)->getLoc().front(),
  235         SrcMgr.PrintMessage((*I)->ExplicitDef->getLoc().front(),
  249       SrcMgr.PrintMessage((*DI)->getLoc().front(),
  255         SrcMgr.PrintMessage((*DI)->getLoc().front(),
unittests/TableGen/CodeExpanderTest.cpp
   22   SrcMgr.AddNewSourceBuffer(std::move(Buffer), SMLoc());
   34     SrcMgr.setDiagHandler(handler, this);
   37     SrcMgr.setDiagHandler(nullptr);
   63     SrcMgr.setDiagHandler(nullptr);
   64     SrcMgr.PrintMessage(Self->OS, D);
   65     SrcMgr.setDiagHandler(handler, Context);
  116       SrcMgr, SMLoc::getFromPointer(In.data() + 1), "TestBuffer", 1, 1,
  164       SMDiagnostic(SrcMgr, SMLoc(), "<unknown>", 0, -1, SourceMgr::DK_Error,
  183       SrcMgr, SMLoc::getFromPointer(In.data() + 8), "TestBuffer", 1, 8,
  200   DiagChecker.expect(SMDiagnostic(SrcMgr, SMLoc::getFromPointer(In.data() + 1),
utils/TableGen/CTagsEmitter.cpp
   38         SrcMgr.getMemoryBuffer(SrcMgr.FindBufferContainingLoc(Loc));
   38         SrcMgr.getMemoryBuffer(SrcMgr.FindBufferContainingLoc(Loc));
   40     std::pair<unsigned, unsigned> LineAndColumn = SrcMgr.getLineAndColumn(Loc);
utils/TableGen/DAGISelMatcherEmitter.cpp
  213   unsigned CurBuf = SrcMgr.FindBufferContainingLoc(L);
  216   Stream << SrcMgr.getBufferInfo(CurBuf).Buffer->getBufferIdentifier() << ":"
  217          << SrcMgr.FindLineNumber(L, CurBuf);