Lines Matching refs:ImportState
585 Sema::ModuleImportState &ImportState) { in ParseFirstTopLevelDecl() argument
590 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl()
591 bool NoTopLevelDecls = ParseTopLevelDecl(Result, ImportState); in ParseFirstTopLevelDecl()
612 Sema::ModuleImportState &ImportState) { in ParseTopLevelDecl() argument
656 Result = ParseModuleDecl(ImportState); in ParseTopLevelDecl()
661 Decl *ImportDecl = ParseModuleImport(SourceLocation(), ImportState); in ParseTopLevelDecl()
687 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
694 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
741 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl()
743 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
744 else if (ImportState == Sema::ModuleImportState::ImportAllowed) in ParseTopLevelDecl()
746 ImportState = Sema::ModuleImportState::ImportFinished; in ParseTopLevelDecl()
2346 Parser::ParseModuleDecl(Sema::ModuleImportState &ImportState) { in ParseModuleDecl() argument
2366 if (ImportState != Sema::ModuleImportState::FirstDecl) { in ParseModuleDecl()
2375 ImportState = Sema::ModuleImportState::GlobalFragment; in ParseModuleDecl()
2390 ImportState = Sema::ModuleImportState::PrivateFragment; in ParseModuleDecl()
2420 ImportState); in ParseModuleDecl()
2439 Sema::ModuleImportState &ImportState) { in ParseModuleImport() argument
2494 switch (ImportState) { in ParseModuleImport()