Lines Matching refs:BlockStart
823 SourceLocation BlockStart);
877 SourceLocation BlockStart) { in diagExportedUnnamedDecl() argument
878 S.Diag(D->getLocation(), getUnnamedDeclDiag(UDK, BlockStart.isValid())) in diagExportedUnnamedDecl()
880 if (BlockStart.isValid()) in diagExportedUnnamedDecl()
881 S.Diag(BlockStart, diag::note_export); in diagExportedUnnamedDecl()
885 static bool checkExportedDecl(Sema &S, Decl *D, SourceLocation BlockStart) { in checkExportedDecl() argument
889 diagExportedUnnamedDecl(S, *UDK, D, BlockStart); in checkExportedDecl()
899 if (BlockStart.isValid()) in checkExportedDecl()
900 S.Diag(BlockStart, diag::note_export); in checkExportedDecl()
914 if (BlockStart.isValid()) in checkExportedDecl()
915 S.Diag(BlockStart, diag::note_export); in checkExportedDecl()
926 diagExportedUnnamedDecl(S, UnnamedDeclKind::Namespace, D, BlockStart); in checkExportedDecl()
929 return checkExportedDeclContext(S, DC, BlockStart); in checkExportedDecl()
936 SourceLocation BlockStart) { in checkExportedDeclContext() argument
939 AllUnnamed &= checkExportedDecl(S, D, BlockStart); in checkExportedDeclContext()
952 SourceLocation BlockStart = in ActOnFinishExportDecl() local
955 if (checkExportedDecl(*this, Child, BlockStart)) { in ActOnFinishExportDecl()
959 BlockStart); in ActOnFinishExportDecl()