Searched refs:DeclDiags (Results 1 – 1 of 1) sorted by relevance
2273 SmallVector<LocAndDiag, 16> DeclDiags; in ActOnPopScope() local2274 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()