Lines Matching defs:ThrowLoc
979 bool Sema::CheckCXXThrowOperand(SourceLocation ThrowLoc,
992 Diag(ThrowLoc, diag::err_wasm_reftype_tc) << 0 << E->getSourceRange();
998 Diag(ThrowLoc, diag::err_wasm_table_art) << 2 << E->getSourceRange();
1003 if (RequireCompleteType(ThrowLoc, Ty,
1010 Diag(ThrowLoc, diag::err_throw_sizeless) << Ty << E->getSourceRange();
1014 if (RequireNonAbstractType(ThrowLoc, ExceptionObjectTy,
1026 MarkVTableUsed(ThrowLoc, RD);
1081 if (CheckCXXDefaultArgExpr(ThrowLoc, CD, CD->getParamDecl(I)))
1095 Diag(ThrowLoc, diag::warn_throw_underaligned_obj);
1096 Diag(ThrowLoc, diag::note_throw_underaligned_obj)
1107 Diag(ThrowLoc, diag::err_throw_object_throwing_dtor) << RD;