Lines Matching refs:BlockStart
776 SourceLocation BlockStart);
830 SourceLocation BlockStart) { in diagExportedUnnamedDecl() argument
831 S.Diag(D->getLocation(), getUnnamedDeclDiag(UDK, BlockStart.isValid())) in diagExportedUnnamedDecl()
833 if (BlockStart.isValid()) in diagExportedUnnamedDecl()
834 S.Diag(BlockStart, diag::note_export); in diagExportedUnnamedDecl()
838 static bool checkExportedDecl(Sema &S, Decl *D, SourceLocation BlockStart) { in checkExportedDecl() argument
842 diagExportedUnnamedDecl(S, *UDK, D, BlockStart); in checkExportedDecl()
852 if (BlockStart.isValid()) in checkExportedDecl()
853 S.Diag(BlockStart, diag::note_export); in checkExportedDecl()
867 if (BlockStart.isValid()) in checkExportedDecl()
868 S.Diag(BlockStart, diag::note_export); in checkExportedDecl()
879 diagExportedUnnamedDecl(S, UnnamedDeclKind::Namespace, D, BlockStart); in checkExportedDecl()
882 return checkExportedDeclContext(S, DC, BlockStart); in checkExportedDecl()
889 SourceLocation BlockStart) { in checkExportedDeclContext() argument
892 AllUnnamed &= checkExportedDecl(S, D, BlockStart); in checkExportedDeclContext()
905 SourceLocation BlockStart = in ActOnFinishExportDecl() local
908 if (checkExportedDecl(*this, Child, BlockStart)) { in ActOnFinishExportDecl()
912 BlockStart); in ActOnFinishExportDecl()