Lines Matching refs:BlockStart
584 SourceLocation BlockStart);
633 SourceLocation BlockStart) { in diagExportedUnnamedDecl() argument
634 S.Diag(D->getLocation(), getUnnamedDeclDiag(UDK, BlockStart.isValid())) in diagExportedUnnamedDecl()
636 if (BlockStart.isValid()) in diagExportedUnnamedDecl()
637 S.Diag(BlockStart, diag::note_export); in diagExportedUnnamedDecl()
641 static bool checkExportedDecl(Sema &S, Decl *D, SourceLocation BlockStart) { in checkExportedDecl() argument
645 diagExportedUnnamedDecl(S, *UDK, D, BlockStart); in checkExportedDecl()
653 if (BlockStart.isValid()) in checkExportedDecl()
654 S.Diag(BlockStart, diag::note_export); in checkExportedDecl()
666 if (BlockStart.isValid()) in checkExportedDecl()
667 S.Diag(BlockStart, diag::note_export); in checkExportedDecl()
675 return checkExportedDeclContext(S, DC, BlockStart); in checkExportedDecl()
681 SourceLocation BlockStart) { in checkExportedDeclContext() argument
684 AllUnnamed &= checkExportedDecl(S, D, BlockStart); in checkExportedDeclContext()
697 SourceLocation BlockStart = in ActOnFinishExportDecl() local
700 if (checkExportedDecl(*this, Child, BlockStart)) { in ActOnFinishExportDecl()
704 BlockStart); in ActOnFinishExportDecl()