Searched refs:NewDiag (Results 1 – 3 of 3) sorted by relevance
1742 SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo, in DiagHandler() local1747 Parser->SavedDiagHandler(NewDiag, Parser->SavedDiagContext); in DiagHandler()1749 NewDiag.print(nullptr, OS); in DiagHandler()
2818 unsigned NewDiag; in MergeFunctionDecl() local2820 NewDiag = diag::err_constructor_redeclared; in MergeFunctionDecl()2822 NewDiag = diag::err_destructor_redeclared; in MergeFunctionDecl()2824 NewDiag = diag::err_conv_function_redeclared; in MergeFunctionDecl()2826 NewDiag = diag::err_member_redeclared; in MergeFunctionDecl()2828 Diag(New->getLocation(), NewDiag); in MergeFunctionDecl()
747 SmallVectorImpl<PartialDiagnosticAt> *NewDiag = nullptr) in SpeculativeEvaluationRAII() argument749 Info.EvalStatus.Diag = NewDiag; in SpeculativeEvaluationRAII()