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

References

include/llvm/Support/SourceMgr.h
  267   SourceMgr::DiagKind Kind = SourceMgr::DK_Error;
lib/AsmParser/LLLexer.cpp
   29   ErrorInfo = SM.GetMessage(ErrorLoc, SourceMgr::DK_Error, Msg);
lib/AsmParser/Parser.cpp
   61     Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
   91     Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
  139     Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
  170                         SourceMgr::DK_Error, "expected end of string");
lib/CodeGen/MIRParser/MIParser.cpp
  543     Error = SM.GetMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
  548                        Loc - Source.data(), SourceMgr::DK_Error, Msg.str(),
lib/CodeGen/MIRParser/MIRParser.cpp
  178       DS_Error, SMDiagnostic(Filename, SourceMgr::DK_Error, Message.str())));
  184       DS_Error, SM.GetMessage(Loc, SourceMgr::DK_Error, Message)));
  189   assert(Error.getKind() == SourceMgr::DK_Error && "Expected an error");
  197   case SourceMgr::DK_Error:
  933     Error = SMDiagnostic(Filename, SourceMgr::DK_Error,
  948             Filename, SourceMgr::DK_Error,
lib/IRReader/IRReader.cpp
   41         Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error,
   59     Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
   81         Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error,
  102     Err = SMDiagnostic(Filename, SourceMgr::DK_Error,
lib/LTO/ThinLTOCodeGenerator.cpp
  194                                       SourceMgr::DK_Error, EIB.message());
  219                                       SourceMgr::DK_Error, EIB.message());
lib/MC/MCContext.cpp
  694     SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg);
  696     InlineSrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg);
lib/MC/MCParser/AsmParser.cpp
  781   printMessage(L, SourceMgr::DK_Error, Msg, Range);
lib/Support/FileCheck.cpp
  335     SM.PrintMessage(PatternLoc, SourceMgr::DK_Error,
  342         PatternLoc, SourceMgr::DK_Error,
  380                         SourceMgr::DK_Error,
  419                         SourceMgr::DK_Error,
  444                           SourceMgr::DK_Error, "unexpected whitespace");
  464                             SourceMgr::DK_Error,
  474                 SMLoc::getFromPointer(Name.data()), SourceMgr::DK_Error,
  557                             SourceMgr::DK_Error,
  596     SM.PrintMessage(SMLoc::getFromPointer(RS.data()), SourceMgr::DK_Error,
  884                           SourceMgr::DK_Error,
 1194       SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Error,
 1201       SM.PrintMessage(SMLoc::getFromPointer(Buffer.data()), SourceMgr::DK_Error,
 1226           SMLoc::getFromPointer(UsedPrefixStart), SourceMgr::DK_Error,
 1242                       SourceMgr::DK_Error,
 1319       Loc, ExpectedMatch ? SourceMgr::DK_Remark : SourceMgr::DK_Error, Message);
 1381       Loc, ExpectedMatch ? SourceMgr::DK_Error : SourceMgr::DK_Remark, Message);
 1521     SM.PrintMessage(Loc, SourceMgr::DK_Error,
 1531     SM.PrintMessage(Loc, SourceMgr::DK_Error,
 1555     SM.PrintMessage(Loc, SourceMgr::DK_Error,
lib/Support/FileCheckImpl.h
  342         SM.GetMessage(Loc, SourceMgr::DK_Error, ErrMsg));
lib/Support/SourceMgr.cpp
  393     case SourceMgr::DK_Error:
lib/Support/VirtualFileSystem.cpp
 1593     SM.PrintMessage(SMLoc(), SourceMgr::DK_Error, "expected root node");
lib/Support/YAMLParser.cpp
  281       printError(SMLoc::getFromPointer(Current), SourceMgr::DK_Error, Message);
 1776                      , SourceMgr::DK_Error
lib/TableGen/Error.cpp
   30   if (Kind == SourceMgr::DK_Error)
   59   PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg);
   63   SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg);
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
 1038                          RegName.Value.size(), SourceMgr::DK_Error,
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
 1295           IDLoc, SourceMgr::DK_Error,
tools/clang/lib/CodeGen/CodeGenAction.cpp
  445   case llvm::SourceMgr::DK_Error:
  962   case llvm::SourceMgr::DK_Error:
tools/clang/tools/clang-format/ClangFormat.cpp
  336           WarningsAsErrors ? SourceMgr::DiagKind::DK_Error
tools/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp
   63                           SourceMgr::DK_Error,
tools/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp
  232                             SourceMgr::DK_Error,
  250                           SourceMgr::DK_Error,
tools/llc/llc.cpp
  276   if (SMD.getKind() == SourceMgr::DK_Error)
tools/llvm-lto/llvm-lto.cpp
  497                                       SourceMgr::DK_Error, EIB.message());
tools/llvm-mc/Disassembler.cpp
  117       SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error,
  175         SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error,
  184         SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error,
  202     SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error,
tools/llvm-mca/CodeRegion.cpp
   47         SM.PrintMessage(Loc, SourceMgr::DK_Error,
   55       SM.PrintMessage(Loc, SourceMgr::DK_Error,
   98   SM.PrintMessage(Loc, SourceMgr::DK_Error,
unittests/Support/SourceMgrTest.cpp
   51   printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, None);
   91   printMessage(getLoc(6), SourceMgr::DK_Error, "message", None, None);
  101   printMessage(getLoc(7), SourceMgr::DK_Error, "message", None, None);
  111   printMessage(getLoc(0), SourceMgr::DK_Error, "message", None, None);
  121   printMessage(getLoc(0), SourceMgr::DK_Error, "message", None, None);
  131   printMessage(getLoc(1), SourceMgr::DK_Error, "message", None, None);
  141   printMessage(getLoc(3), SourceMgr::DK_Error, "message", None, None);
  151   printMessage(getLoc(3), SourceMgr::DK_Error, "message", None, None);
  161   printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, None);
  171   printMessage(getLoc(5), SourceMgr::DK_Error, "message", None, None);
  181   printMessage(getLoc(5), SourceMgr::DK_Error, "message", None, None);
  191   printMessage(getLoc(9), SourceMgr::DK_Error, "message", None, None);
  221   printMessage(getLoc(253), SourceMgr::DK_Error, "message", None, None);
  232   printMessage(getLoc(254), SourceMgr::DK_Error, "message", None, None);
  243   printMessage(getLoc(255), SourceMgr::DK_Error, "message", None, None);
  254   printMessage(getLoc(253), SourceMgr::DK_Error, "message", None, None);
  265   printMessage(getLoc(254), SourceMgr::DK_Error, "message", None, None);
  276   printMessage(getLoc(255), SourceMgr::DK_Error, "message", None, None);
  291   printMessage(getLoc(254), SourceMgr::DK_Error, "message", None, None);
  302   printMessage(getLoc(255), SourceMgr::DK_Error, "message", None, None);
  313   printMessage(getLoc(256), SourceMgr::DK_Error, "message", None, None);
  324   printMessage(getLoc(254), SourceMgr::DK_Error, "message", None, None);
  335   printMessage(getLoc(255), SourceMgr::DK_Error, "message", None, None);
  346   printMessage(getLoc(256), SourceMgr::DK_Error, "message", None, None);
  361   printMessage(getLoc(255), SourceMgr::DK_Error, "message", None, None);
  372   printMessage(getLoc(256), SourceMgr::DK_Error, "message", None, None);
  383   printMessage(getLoc(257), SourceMgr::DK_Error, "message", None, None);
  394   printMessage(getLoc(255), SourceMgr::DK_Error, "message", None, None);
  405   printMessage(getLoc(256), SourceMgr::DK_Error, "message", None, None);
  416   printMessage(getLoc(257), SourceMgr::DK_Error, "message", None, None);
  425   printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(4, 3), None);
  435   printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(3, 3), None);
  445   printMessage(getLoc(4), SourceMgr::DK_Error, "message", getRange(4, 7), None);
  456   printMessage(getLoc(4), SourceMgr::DK_Error, "message", Ranges, None);
  467   printMessage(getLoc(4), SourceMgr::DK_Error, "message", Ranges, None);
  477   printMessage(getLoc(4), SourceMgr::DK_Error, "message", None,
  489   printMessage(getLoc(3), SourceMgr::DK_Error, "message", None,
unittests/TableGen/CodeExpanderTest.cpp
  164       SMDiagnostic(SrcMgr, SMLoc(), "<unknown>", 0, -1, SourceMgr::DK_Error,
  184       SourceMgr::DK_Error, "Attempting to expand an undeclared variable foo",