Home
last modified time | relevance | path

Searched refs:addDiag (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DState.cpp66 return OptionalDiagnostic(&addDiag(Loc, DiagId)); in Note()
81 PartialDiagnostic &State::addDiag(SourceLocation Loc, diag::kind DiagId) { in addDiag() function in State
106 addDiag(Loc, DiagId); in diag()
138 addDiag(CallRange.getBegin(), diag::note_constexpr_calls_suppressed) in addCallStack()
149 addDiag(CallRange.getBegin(), in addCallStack()
159 addDiag(CallRange.getBegin(), diag::note_constexpr_call_here) in addCallStack()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp2194 auto addDiag = [&DeclDiags](SourceLocation Loc, PartialDiagnostic PD) { in ActOnPopScope() local
2211 DiagnoseUnusedDecl(D, addDiag); in ActOnPopScope()
2213 DiagnoseUnusedNestedTypedefs(RD, addDiag); in ActOnPopScope()
2215 DiagnoseUnusedButSetDecl(VD, addDiag); in ActOnPopScope()
2224 CheckPoppedLabel(LD, *this, addDiag); in ActOnPopScope()