Home
last modified time | relevance | path

Searched refs:noteLoc (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/mlir/lib/IR/
DRegion.cpp147 Optional<Location> noteLoc) { in isIsolatedAbove() argument
165 if (noteLoc) in isIsolatedAbove()
166 op.emitOpError("block's operand not defined").attachNote(noteLoc); in isIsolatedAbove()
173 if (noteLoc) { in isIsolatedAbove()
175 .attachNote(noteLoc) in isIsolatedAbove()
190 bool Region::isIsolatedFromAbove(Optional<Location> noteLoc) { in isIsolatedFromAbove() argument
191 return isIsolatedAbove(*this, *this, noteLoc); in isIsolatedFromAbove()
DDiagnostics.cpp150 Diagnostic &Diagnostic::attachNote(Optional<Location> noteLoc) { in attachNote() argument
156 if (!noteLoc) in attachNote()
157 noteLoc = loc; in attachNote()
161 std::make_unique<Diagnostic>(*noteLoc, DiagnosticSeverity::Note)); in attachNote()
/external/llvm-project/mlir/include/mlir/IR/
DDiagnostics.h260 Diagnostic &attachNote(Optional<Location> noteLoc = llvm::None);
343 Diagnostic &attachNote(Optional<Location> noteLoc = llvm::None) {
345 return impl->attachNote(noteLoc);
DRegion.h229 bool isIsolatedFromAbove(Optional<Location> noteLoc = llvm::None);
/external/clang/lib/Sema/
DSemaExprObjC.cpp3535 SourceLocation noteLoc = afterLParen.isValid() ? afterLParen : loc; in diagnoseObjCARCConversion() local
3555 (CCK != Sema::CCK_OtherCast) ? S.Diag(noteLoc, diag::note_arc_bridge) in diagnoseObjCARCConversion()
3556 : S.Diag(noteLoc, diag::note_arc_cstyle_bridge); in diagnoseObjCARCConversion()
3566 S.Diag(noteLoc, diag::note_arc_cstyle_bridge_transfer) << castExprType : in diagnoseObjCARCConversion()
3567 S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion()
3596 (CCK != Sema::CCK_OtherCast) ? S.Diag(noteLoc, diag::note_arc_bridge) in diagnoseObjCARCConversion()
3597 : S.Diag(noteLoc, diag::note_arc_cstyle_bridge); in diagnoseObjCARCConversion()
3606 S.Diag(noteLoc, diag::note_arc_cstyle_bridge_retained) << castType : in diagnoseObjCARCConversion()
3607 S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion()
DSemaObjCProperty.cpp2059 SourceLocation noteLoc = PD->getLocation(); in DiagnoseOwningPropertyGetterSynthesis() local
2066 noteLoc = getterRedecl->getLocation(); in DiagnoseOwningPropertyGetterSynthesis()
2078 StringRef macroName = PP.getLastMacroWithSpelling(noteLoc, tokens); in DiagnoseOwningPropertyGetterSynthesis()
2082 auto noteDiag = Diag(noteLoc, diag::note_cocoa_naming_declare_family) in DiagnoseOwningPropertyGetterSynthesis()
/external/llvm-project/clang/lib/Sema/
DSemaExprObjC.cpp3909 SourceLocation noteLoc = afterLParen.isValid() ? afterLParen : loc; in diagnoseObjCARCConversion() local
3931 ? S.Diag(noteLoc, diag::note_arc_bridge) in diagnoseObjCARCConversion()
3932 : S.Diag(noteLoc, diag::note_arc_cstyle_bridge); in diagnoseObjCARCConversion()
3941 ? S.Diag(noteLoc, diag::note_arc_cstyle_bridge_transfer) in diagnoseObjCARCConversion()
3943 : S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion()
3972 ? S.Diag(noteLoc, diag::note_arc_bridge) in diagnoseObjCARCConversion()
3973 : S.Diag(noteLoc, diag::note_arc_cstyle_bridge); in diagnoseObjCARCConversion()
3981 ? S.Diag(noteLoc, diag::note_arc_cstyle_bridge_retained) in diagnoseObjCARCConversion()
3983 : S.Diag(br ? castExpr->getExprLoc() : noteLoc, in diagnoseObjCARCConversion()
DSemaObjCProperty.cpp2293 SourceLocation noteLoc = PD->getLocation(); in DiagnoseOwningPropertyGetterSynthesis() local
2300 noteLoc = getterRedecl->getLocation(); in DiagnoseOwningPropertyGetterSynthesis()
2312 StringRef macroName = PP.getLastMacroWithSpelling(noteLoc, tokens); in DiagnoseOwningPropertyGetterSynthesis()
2316 auto noteDiag = Diag(noteLoc, diag::note_cocoa_naming_declare_family) in DiagnoseOwningPropertyGetterSynthesis()
/external/llvm-project/mlir/docs/
DDiagnostics.md180 op->emitError("...").attachNote(noteLoc) << "...";