Home
last modified time | relevance | path

Searched refs:ImportState (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang/lib/Parse/
H A DParseAST.cpp157 Sema::ModuleImportState ImportState; in ParseAST() local
161 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseAST()
162 AtEOF = P.ParseTopLevelDecl(ADecl, ImportState)) { in ParseAST()
H A DParser.cpp590 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl()
656 Result = ParseModuleDecl(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()
746 ImportState = Sema::ModuleImportState::ImportFinished; in ParseTopLevelDecl()
2375 ImportState = Sema::ModuleImportState::GlobalFragment; in ParseModuleDecl()
2390 ImportState = Sema::ModuleImportState::PrivateFragment; in ParseModuleDecl()
2420 ImportState); in ParseModuleDecl()
[all …]
/llvm-project-15.0.7/clang/lib/Interpreter/
H A DIncrementalParser.cpp170 Sema::ModuleImportState ImportState; in ParseOrWrapTopLevelDecl() local
171 for (bool AtEOF = P->ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseOrWrapTopLevelDecl()
172 AtEOF = P->ParseTopLevelDecl(ADecl, ImportState)) { in ParseOrWrapTopLevelDecl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaModule.cpp150 ModuleIdPath Partition, ModuleImportState &ImportState) { in ActOnModuleDecl() argument
154 bool IsFirstDecl = ImportState == ModuleImportState::FirstDecl; in ActOnModuleDecl()
155 bool SeenGMF = ImportState == ModuleImportState::GlobalFragment; in ActOnModuleDecl()
158 ImportState = ModuleImportState::NotACXX20Module; in ActOnModuleDecl()
345 ImportState = ModuleImportState::ImportAllowed; in ActOnModuleDecl()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp731 auto ImportState = clang::Sema::ModuleImportState::NotACXX20Module; in Create() local
732 while (!parser->ParseTopLevelDecl(parsed, ImportState)) in Create()
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h474 Sema::ModuleImportState &ImportState);
479 Sema::ModuleImportState &ImportState);
3445 DeclGroupPtrTy ParseModuleDecl(Sema::ModuleImportState &ImportState);
3447 Sema::ModuleImportState &ImportState);
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h3099 ModuleImportState &ImportState);