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()
747 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl()
749 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
750 else if (ImportState == Sema::ModuleImportState::ImportAllowed) in ParseTopLevelDecl()
752 ImportState = Sema::ModuleImportState::ImportFinished; in ParseTopLevelDecl()
753 else if (ImportState == in ParseTopLevelDecl()
756 ImportState = Sema::ModuleImportState::PrivateFragmentImportFinished; in ParseTopLevelDecl()
2390 Parser::ParseModuleDecl(Sema::ModuleImportState &ImportState) { in ParseModuleDecl() argument
2410 if (ImportState != Sema::ModuleImportState::FirstDecl) { in ParseModuleDecl()
2419 ImportState = Sema::ModuleImportState::GlobalFragment; in ParseModuleDecl()
2434 ImportState = ImportState == Sema::ModuleImportState::ImportAllowed in ParseModuleDecl()
2466 ImportState); in ParseModuleDecl()
2485 Sema::ModuleImportState &ImportState) { in ParseModuleImport() argument
2540 switch (ImportState) { in ParseModuleImport()
2564 << (ImportState == Sema::ModuleImportState::GlobalFragment ? 0 : 1); in ParseModuleImport()