Lines Matching refs:DelayedDiagnostic
3196 static void handleDelayedForbiddenType(Sema &S, DelayedDiagnostic &diag, in handleDelayedForbiddenType()
3211 void Sema::DelayedDiagnostics::add(const DelayedDiagnostic &diag) { in add()
3217 char *newBuffer = new char[newCapacity * sizeof(DelayedDiagnostic)]; in add()
3221 memcpy(newBuffer, oldBuffer, StackCapacity * sizeof(DelayedDiagnostic)); in add()
3224 Stack = reinterpret_cast<sema::DelayedDiagnostic*>(newBuffer); in add()
3229 new (&Stack[StackSize++]) DelayedDiagnostic(diag); in add()
3259 DelayedDiagnostic &diag = DD.Stack[i]; in popParsingDecl()
3264 case DelayedDiagnostic::Deprecation: in popParsingDecl()
3268 case DelayedDiagnostic::Access: in popParsingDecl()
3272 case DelayedDiagnostic::ForbiddenType: in popParsingDecl()
3294 void Sema::HandleDelayedDeprecationCheck(DelayedDiagnostic &DD, in HandleDelayedDeprecationCheck()
3314 DelayedDiagnostics.add(DelayedDiagnostic::makeDeprecation(Loc, D, Message)); in EmitDeprecationWarning()