Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp166 Sema::ModuleImportState ImportState; in ParseAST() local
170 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseAST()
171 AtEOF = P.ParseTopLevelDecl(ADecl, ImportState)) { in ParseAST()
H A DParser.cpp602 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()
[all …]
/freebsd/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/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp261 ModuleIdPath Partition, ModuleImportState &ImportState) { in ActOnModuleDecl() argument
265 bool IsFirstDecl = ImportState == ModuleImportState::FirstDecl; in ActOnModuleDecl()
266 bool SeenGMF = ImportState == ModuleImportState::GlobalFragment; in ActOnModuleDecl()
269 ImportState = ModuleImportState::NotACXX20Module; in ActOnModuleDecl()
476 ImportState = ModuleImportState::ImportAllowed; in ActOnModuleDecl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp769 auto ImportState = clang::Sema::ModuleImportState::NotACXX20Module; in Create() local
770 while (!parser->ParseTopLevelDecl(parsed, ImportState)) in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h531 Sema::ModuleImportState &ImportState);
536 Sema::ModuleImportState &ImportState);
3866 DeclGroupPtrTy ParseModuleDecl(Sema::ModuleImportState &ImportState);
3868 Sema::ModuleImportState &ImportState);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9641 ModuleImportState &ImportState);