Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp585 Sema::ModuleImportState &ImportState) { in ParseFirstTopLevelDecl() argument
590 ImportState = Sema::ModuleImportState::FirstDecl; in ParseFirstTopLevelDecl()
591 bool NoTopLevelDecls = ParseTopLevelDecl(Result, ImportState); in ParseFirstTopLevelDecl()
612 Sema::ModuleImportState &ImportState) { in ParseTopLevelDecl() argument
656 Result = ParseModuleDecl(ImportState); in ParseTopLevelDecl()
661 Decl *ImportDecl = ParseModuleImport(SourceLocation(), ImportState); in ParseTopLevelDecl()
687 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
694 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
747 if (ImportState == Sema::ModuleImportState::FirstDecl) in ParseTopLevelDecl()
749 ImportState = Sema::ModuleImportState::NotACXX20Module; in ParseTopLevelDecl()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Interpreter/
H A DIncrementalParser.cpp173 Sema::ModuleImportState ImportState; in ParseOrWrapTopLevelDecl() local
174 for (bool AtEOF = P->ParseFirstTopLevelDecl(ADecl, ImportState); !AtEOF; in ParseOrWrapTopLevelDecl()
175 AtEOF = P->ParseTopLevelDecl(ADecl, ImportState)) { in ParseOrWrapTopLevelDecl()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaModule.cpp181 ModuleIdPath Partition, ModuleImportState &ImportState) { in ActOnModuleDecl() argument
185 bool IsFirstDecl = ImportState == ModuleImportState::FirstDecl; in ActOnModuleDecl()
186 bool SeenGMF = ImportState == ModuleImportState::GlobalFragment; in ActOnModuleDecl()
189 ImportState = ModuleImportState::NotACXX20Module; in ActOnModuleDecl()
400 ImportState = ModuleImportState::ImportAllowed; in ActOnModuleDecl()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/Parse/
H A DParser.h482 Sema::ModuleImportState &ImportState);
487 Sema::ModuleImportState &ImportState);
3559 DeclGroupPtrTy ParseModuleDecl(Sema::ModuleImportState &ImportState);
3561 Sema::ModuleImportState &ImportState);
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h3172 ModuleImportState &ImportState);