| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | SourceMgrTest.cpp | 51 printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, None); in TEST_F() 91 printMessage(getLoc(6), SourceMgr::DK_Error, "message", None, None); in TEST_F() 101 printMessage(getLoc(7), SourceMgr::DK_Error, "message", None, None); in TEST_F() 111 printMessage(getLoc(0), SourceMgr::DK_Error, "message", None, None); in TEST_F() 121 printMessage(getLoc(0), SourceMgr::DK_Error, "message", None, None); in TEST_F() 131 printMessage(getLoc(1), SourceMgr::DK_Error, "message", None, None); in TEST_F() 141 printMessage(getLoc(3), SourceMgr::DK_Error, "message", None, None); in TEST_F() 151 printMessage(getLoc(3), SourceMgr::DK_Error, "message", None, None); in TEST_F() 161 printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, None); in TEST_F() 477 printMessage(getLoc(4), SourceMgr::DK_Error, "message", None, in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/TableGen/ |
| H A D | Error.cpp | 31 if (Kind == SourceMgr::DK_Error) in PrintMessage() 104 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); in PrintError() 108 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); in PrintError() 114 PrintMessage(Rec->getLoc(), SourceMgr::DK_Error, Msg); in PrintError() 120 PrintMessage(RecVal->getLoc(), SourceMgr::DK_Error, Msg); in PrintError()
|
| /llvm-project-15.0.7/llvm/lib/IRReader/ |
| H A D | IRReader.cpp | 41 Err = SMDiagnostic(Buffer->getBufferIdentifier(), SourceMgr::DK_Error, in getLazyIRModule() 59 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in getLazyIRFileModule() 80 Err = SMDiagnostic(Buffer.getBufferIdentifier(), SourceMgr::DK_Error, in parseIR() 97 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseIRFile()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mc/ |
| H A D | Disassembler.cpp | 116 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, in ByteArrayFromString() 174 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble() 183 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble() 201 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
|
| /llvm-project-15.0.7/llvm/tools/llvm-ml/ |
| H A D | Disassembler.cpp | 110 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, in ByteArrayFromString() 170 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble() 179 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble() 197 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, in disassemble()
|
| /llvm-project-15.0.7/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.cpp | 47 SM.PrintMessage(Loc, SourceMgr::DK_Error, in beginRegion() 55 SM.PrintMessage(Loc, SourceMgr::DK_Error, in beginRegion() 97 SM.PrintMessage(Loc, SourceMgr::DK_Error, in endRegion()
|
| /llvm-project-15.0.7/llvm/lib/AsmParser/ |
| H A D | Parser.cpp | 65 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFile() 107 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseAssemblyFileWithIndex() 172 Err = SMDiagnostic(Filename, SourceMgr::DK_Error, in parseSummaryIndexAssemblyFile() 203 SourceMgr::DK_Error, "expected end of string"); in parseType()
|
| /llvm-project-15.0.7/libc/utils/HdrGen/ |
| H A D | Generator.cpp | 88 llvm::SourceMgr::DK_Error, in generate() 97 llvm::SourceMgr::DK_Error, in generate()
|
| H A D | Command.h | 40 SrcMgr.PrintMessage(Loc, llvm::SourceMgr::DK_Error, Msg); in printFatalError()
|
| /llvm-project-15.0.7/llvm/lib/FileCheck/ |
| H A D | FileCheck.cpp | 938 PatternLoc, SourceMgr::DK_Error, in parsePattern() 982 SourceMgr::DK_Error, in parsePattern() 1022 SourceMgr::DK_Error, in parsePattern() 1068 SourceMgr::DK_Error, in parsePattern() 1171 SourceMgr::DK_Error, in parsePattern() 1566 SourceMgr::DK_Error, in FindRegexVarEnd() 1963 SourceMgr::DK_Error, in readCheckFile() 2024 SourceMgr::DK_Error, in readCheckFile() 2361 SM.PrintMessage(Loc, SourceMgr::DK_Error, in CheckNext() 2371 SM.PrintMessage(Loc, SourceMgr::DK_Error, in CheckNext() [all …]
|
| /llvm-project-15.0.7/clang/utils/TableGen/ |
| H A D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 63 SourceMgr::DK_Error, in EmitClangCommentHTMLNamedCharacterReferences()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 34 DK_Error, enumerator 287 SourceMgr::DiagKind Kind = SourceMgr::DK_Error;
|
| H A D | YAMLParser.h | 106 SourceMgr::DiagKind Kind = SourceMgr::DK_Error); 108 SourceMgr::DiagKind Kind = SourceMgr::DK_Error);
|
| /llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/ |
| H A D | ClangTidyOptionsTest.cpp | 173 *OS << (D.Kind == llvm::SourceMgr::DK_Error ? "error: " : "warning: ") in PrintTo() 222 DiagKind(llvm::SourceMgr::DK_Error), in TEST() 233 DiagKind(llvm::SourceMgr::DK_Error), in TEST()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 194 DS_Error, SMDiagnostic(Filename, SourceMgr::DK_Error, Message.str()))); in error() 200 DS_Error, SM.GetMessage(Loc, SourceMgr::DK_Error, Message))); in error() 205 assert(Error.getKind() == SourceMgr::DK_Error && "Expected an error"); in error() 213 case SourceMgr::DK_Error: in reportDiagnostic() 1056 Error = SMDiagnostic(Filename, SourceMgr::DK_Error, in createMIRParserFromFile() 1073 Filename, SourceMgr::DK_Error, in createMIRParser()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | ConfigTesting.h | 55 *OS << (D.Kind == llvm::SourceMgr::DK_Error ? "error: " : "warning: ") in PrintTo()
|
| H A D | ConfigCompileTests.cpp | 396 diagKind(llvm::SourceMgr::DK_Error)))); in TEST_F() 421 diagKind(llvm::SourceMgr::DK_Error)))); in TEST_F() 461 diagKind(llvm::SourceMgr::DK_Error)))); in TEST_F()
|
| H A D | ConfigProviderTests.cpp | 36 DC(llvm::SMDiagnostic("", llvm::SourceMgr::DK_Error, Prefix)); in getFragments()
|
| H A D | ConfigYAMLTests.cpp | 130 diagKind(llvm::SourceMgr::DK_Error), in TEST()
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Diagnostic.h | 147 this, Diagnostic(Diagnostic::Severity::DK_Error, loc, msg)); in emitError()
|
| /llvm-project-15.0.7/mlir/tools/mlir-tblgen/ |
| H A D | FormatGen.cpp | 35 mgr.PrintMessage(loc, llvm::SourceMgr::DK_Error, msg); in emitError() 47 mgr.PrintMessage(loc, llvm::SourceMgr::DK_Error, msg); in emitErrorAndNote()
|
| /llvm-project-15.0.7/llvm/unittests/TableGen/ |
| H A D | CodeExpanderTest.cpp | 164 SMDiagnostic(SrcMgr, SMLoc(), "<unknown>", 0, -1, SourceMgr::DK_Error, in TEST()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Diagnostics.cpp | 425 return llvm::SourceMgr::DK_Error; in getDiagKind() 603 mgr.PrintMessage(os, fileLoc, llvm::SourceMgr::DK_Error, msg, range); in emitError() 892 mgr.PrintMessage(os, nearMiss->fileLoc, llvm::SourceMgr::DK_Error, in process()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | TidyProvider.cpp | 49 case llvm::SourceMgr::DK_Error: in get()
|
| /llvm-project-15.0.7/llvm/lib/LTO/ |
| H A D | ThinLTOCodeGenerator.cpp | 202 SourceMgr::DK_Error, EIB.message()); in loadModuleFromInput() 228 SourceMgr::DK_Error, EIB.message()); in crossImportIntoModule()
|