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.cpp165 Sema::ModuleImportState ImportState; in ParseAST() local
169 for (bool AtEOF = P.ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseAST()
170 AtEOF = P.ParseTopLevelDecl(ADecl, ImportState)) { in ParseAST()
H A DParser.cpp595 Sema::ModuleImportState &ImportState) { in ParseFirstTopLevelDecl() argument
600 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl()
601 bool NoTopLevelDecls = ParseTopLevelDecl(Result, ImportState); in ParseFirstTopLevelDecl()
616 Sema::ModuleImportState &ImportState) { in ParseTopLevelDecl() argument
655 Result = ParseModuleDecl(ImportState); in ParseTopLevelDecl()
660 Decl *ImportDecl = ParseModuleImport(SourceLocation(), ImportState); in ParseTopLevelDecl()
687 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
695 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
749 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl()
751 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp65 Sema::ModuleImportState ImportState; in ParseOrWrapTopLevelDecl() local
66 for (bool AtEOF = P->ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseOrWrapTopLevelDecl()
67 AtEOF = P->ParseTopLevelDecl(ADecl, ImportState)) { in ParseOrWrapTopLevelDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp266 ModuleIdPath Partition, ModuleImportState &ImportState, in ActOnModuleDecl() argument
271 bool IsFirstDecl = ImportState == ModuleImportState::FirstDecl; in ActOnModuleDecl()
272 bool SeenGMF = ImportState == ModuleImportState::GlobalFragment; in ActOnModuleDecl()
275 ImportState = ModuleImportState::NotACXX20Module; in ActOnModuleDecl()
479 ImportState = ModuleImportState::ImportAllowed; in ActOnModuleDecl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp779 auto ImportState = clang::Sema::ModuleImportState::NotACXX20Module; in Create() local
780 while (!parser->ParseTopLevelDecl(parsed, ImportState)) in Create()
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h239 Sema::ModuleImportState &ImportState);
250 Sema::ModuleImportState &ImportState);
1036 DeclGroupPtrTy ParseModuleDecl(Sema::ModuleImportState &ImportState);
1056 Sema::ModuleImportState &ImportState);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h9838 ModuleImportState &ImportState,