Searched refs:noteLoc (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Diagnostic.h | 47 Optional<SMRange> noteLoc = llvm::None) { 51 new Diagnostic(Severity::DK_Note, noteLoc.value_or(location), msg));
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Diagnostics.h | 250 Diagnostic &attachNote(Optional<Location> noteLoc = llvm::None); 348 Diagnostic &attachNote(Optional<Location> noteLoc = llvm::None) { 350 return impl->attachNote(noteLoc);
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Lexer.cpp | 125 Token Lexer::emitErrorAndNote(SMRange loc, const Twine &msg, SMRange noteLoc, in emitErrorAndNote() argument 127 diagEngine.emitError(loc, msg)->attachNote(note, noteLoc); in emitErrorAndNote()
|
| H A D | Lexer.h | 193 Token emitErrorAndNote(SMRange loc, const Twine &msg, SMRange noteLoc,
|
| H A D | Parser.cpp | 527 LogicalResult emitErrorAndNote(SMRange loc, const Twine &msg, SMRange noteLoc, in emitErrorAndNote() argument 529 lexer.emitErrorAndNote(loc, msg, noteLoc, note); in emitErrorAndNote()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Diagnostics.cpp | 171 Diagnostic &Diagnostic::attachNote(Optional<Location> noteLoc) { in attachNote() argument 177 if (!noteLoc) in attachNote() 178 noteLoc = loc; in attachNote() 182 std::make_unique<Diagnostic>(*noteLoc, DiagnosticSeverity::Note)); in attachNote()
|
| /llvm-project-15.0.7/mlir/lib/Tools/mlir-lsp-server/ |
| H A D | MLIRServer.cpp | 218 lsp::Location noteLoc; in getLspDiagnoticFromDiag() local 221 noteLoc = *loc; in getLspDiagnoticFromDiag() 223 noteLoc.uri = uri; in getLspDiagnoticFromDiag() 224 relatedDiags.emplace_back(noteLoc, note.str()); in getLspDiagnoticFromDiag()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExprObjC.cpp | 3913 SourceLocation noteLoc = afterLParen.isValid() ? afterLParen : loc; in diagnoseObjCARCConversion() local 3935 ? S.Diag(noteLoc, diag::note_arc_bridge) in diagnoseObjCARCConversion() 3936 : S.Diag(noteLoc, diag::note_arc_cstyle_bridge); in diagnoseObjCARCConversion() 3945 ? S.Diag(noteLoc, diag::note_arc_cstyle_bridge_transfer) in diagnoseObjCARCConversion() 3947 : S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion() 3976 ? S.Diag(noteLoc, diag::note_arc_bridge) in diagnoseObjCARCConversion() 3977 : S.Diag(noteLoc, diag::note_arc_cstyle_bridge); in diagnoseObjCARCConversion() 3985 ? S.Diag(noteLoc, diag::note_arc_cstyle_bridge_retained) in diagnoseObjCARCConversion() 3987 : S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion()
|
| H A D | SemaObjCProperty.cpp | 2284 SourceLocation noteLoc = PD->getLocation(); in DiagnoseOwningPropertyGetterSynthesis() local 2291 noteLoc = getterRedecl->getLocation(); in DiagnoseOwningPropertyGetterSynthesis() 2303 StringRef macroName = PP.getLastMacroWithSpelling(noteLoc, tokens); in DiagnoseOwningPropertyGetterSynthesis() 2307 auto noteDiag = Diag(noteLoc, diag::note_cocoa_naming_declare_family) in DiagnoseOwningPropertyGetterSynthesis()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | Diagnostics.md | 132 op->emitError("...").attachNote(noteLoc) << "...";
|