Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp2273 SmallVector<LocAndDiag, 16> DeclDiags; in ActOnPopScope() local
2274 auto addDiag = [&DeclDiags](SourceLocation Loc, PartialDiagnostic PD) { in ActOnPopScope()
2275 DeclDiags.push_back(LocAndDiag{Loc, std::nullopt, std::move(PD)}); in ActOnPopScope()
2277 auto addDiagWithPrev = [&DeclDiags](SourceLocation Loc, in ActOnPopScope()
2280 DeclDiags.push_back(LocAndDiag{Loc, PreviousDeclLoc, std::move(PD)}); in ActOnPopScope()
2326 llvm::sort(DeclDiags, in ActOnPopScope()
2334 for (const LocAndDiag &D : DeclDiags) { in ActOnPopScope()