Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp158 Sema::ModuleImportState ImportState; in ParseAST() local
162 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseAST()
163 AtEOF = P.ParseTopLevelDecl(ADecl, ImportState)) { in ParseAST()
H A DParser.cpp606 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl()
672 Result = ParseModuleDecl(ImportState); in ParseTopLevelDecl()
703 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
710 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
764 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl()
769 ImportState = Sema::ModuleImportState::ImportFinished; in ParseTopLevelDecl()
770 else if (ImportState == in ParseTopLevelDecl()
2468 ImportState = Sema::ModuleImportState::GlobalFragment; in ParseModuleDecl()
2483 ImportState = ImportState == Sema::ModuleImportState::ImportAllowed in ParseModuleDecl()
2516 ImportState); in ParseModuleDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp270 Sema::ModuleImportState ImportState; in ParseOrWrapTopLevelDecl() local
271 for (bool AtEOF = P->ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseOrWrapTopLevelDecl()
272 AtEOF = P->ParseTopLevelDecl(ADecl, ImportState)) { in ParseOrWrapTopLevelDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp175 ModuleIdPath Partition, ModuleImportState &ImportState) { in ActOnModuleDecl() argument
179 bool IsFirstDecl = ImportState == ModuleImportState::FirstDecl; in ActOnModuleDecl()
180 bool SeenGMF = ImportState == ModuleImportState::GlobalFragment; in ActOnModuleDecl()
183 ImportState = ModuleImportState::NotACXX20Module; in ActOnModuleDecl()
390 ImportState = ModuleImportState::ImportAllowed; in ActOnModuleDecl()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp780 auto ImportState = clang::Sema::ModuleImportState::NotACXX20Module; in Create() local
781 while (!parser->ParseTopLevelDecl(parsed, ImportState)) in Create()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h497 Sema::ModuleImportState &ImportState);
502 Sema::ModuleImportState &ImportState);
3681 DeclGroupPtrTy ParseModuleDecl(Sema::ModuleImportState &ImportState);
3683 Sema::ModuleImportState &ImportState);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3235 ModuleImportState &ImportState);