Lines Matching refs:ImportState
602 Sema::ModuleImportState &ImportState) { in ParseFirstTopLevelDecl() argument
607 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl()
608 bool NoTopLevelDecls = ParseTopLevelDecl(Result, ImportState); in ParseFirstTopLevelDecl()
629 Sema::ModuleImportState &ImportState) { in ParseTopLevelDecl() argument
673 Result = ParseModuleDecl(ImportState); in ParseTopLevelDecl()
678 Decl *ImportDecl = ParseModuleImport(SourceLocation(), ImportState); in ParseTopLevelDecl()
705 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
713 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
767 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl()
769 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
770 else if (ImportState == Sema::ModuleImportState::ImportAllowed) in ParseTopLevelDecl()
772 ImportState = Sema::ModuleImportState::ImportFinished; in ParseTopLevelDecl()
773 else if (ImportState == in ParseTopLevelDecl()
776 ImportState = Sema::ModuleImportState::PrivateFragmentImportFinished; in ParseTopLevelDecl()
2463 Parser::ParseModuleDecl(Sema::ModuleImportState &ImportState) { in ParseModuleDecl() argument
2483 if (ImportState != Sema::ModuleImportState::FirstDecl) { in ParseModuleDecl()
2492 ImportState = Sema::ModuleImportState::GlobalFragment; in ParseModuleDecl()
2507 ImportState = ImportState == Sema::ModuleImportState::ImportAllowed in ParseModuleDecl()
2540 ImportState); in ParseModuleDecl()
2559 Sema::ModuleImportState &ImportState) { in ParseModuleImport() argument
2615 switch (ImportState) { in ParseModuleImport()
2622 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseModuleImport()
2643 << (ImportState == Sema::ModuleImportState::GlobalFragment ? 0 : 1); in ParseModuleImport()