| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 324 const clang::DeclContext &decl_context, in GetDeclFromContextByName() argument 396 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local 404 ConstString(name), decl_context); in CreateLLDBTypeFromPDBType() 415 decl_context, access, name.c_str(), tag_type_kind, in CreateLLDBTypeFromPDBType() 472 auto decl_context = GetDeclContextContainingSymbol(type); in CreateLLDBTypeFromPDBType() local 477 ConstString(name), decl_context); in CreateLLDBTypeFromPDBType() 874 auto decl_context = GetDeclContextContainingSymbol(symbol); in GetDeclForSymbol() local 875 assert(decl_context); in GetDeclForSymbol() 896 decl_context, name.c_str(), in GetDeclForSymbol() 909 assert(decl_context); in GetDeclForSymbol() [all …]
|
| H A D | SymbolFilePDB.cpp | 634 auto decl_context = pdb->GetDeclContextForSymbol(*symbol); in GetDeclContextForUID() local 635 if (!decl_context) in GetDeclContextForUID() 638 return CompilerDeclContext(clang_ast_ctx, decl_context); in GetDeclContextForUID() 656 auto decl_context = pdb->GetDeclContextContainingSymbol(*symbol); in GetDeclContextContainingUID() local 657 assert(decl_context); in GetDeclContextContainingUID() 659 return CompilerDeclContext(clang_ast_ctx, decl_context); in GetDeclContextContainingUID() 1632 clang::DeclContext *decl_context = nullptr; in FindNamespace() local 1634 decl_context = static_cast<clang::DeclContext *>( in FindNamespace() 1638 pdb->FindNamespaceDecl(decl_context, name.GetStringRef()); in FindNamespace()
|
| H A D | PDBASTParser.h | 59 void ParseDeclsForDeclContext(const clang::DeclContext *decl_context);
|
| /freebsd-12.1/contrib/gcc/cp/ |
| H A D | decl.h | 22 enum decl_context enum 38 enum decl_context, int, tree*);
|
| H A D | decl.c | 7436 enum decl_context decl_context, in grokdeclarator() argument 7697 decl_context = PARM; in grokdeclarator() 7976 if (decl_context == PARM) in grokdeclarator() 8001 decl_context = FIELD; in grokdeclarator() 8024 if ((decl_context == PARM || decl_context == CATCHPARM) in grokdeclarator() 8042 if (decl_context == PARM || decl_context == CATCHPARM) in grokdeclarator() 8183 && decl_context == FIELD in grokdeclarator() 8215 if (decl_context == FIELD in grokdeclarator() 8511 if ((decl_context == FIELD || decl_context == PARM) in grokdeclarator() 8825 if (decl_context != PARM) in grokdeclarator() [all …]
|
| H A D | ChangeLog-1993 | 410 complaining about arrays of references if decl_context==TYPENAME,
|
| H A D | ChangeLog-1994 | 2361 * decl.c (grokdeclarator): Use decl_context to decide whether or not
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangUserExpression.cpp | 126 CompilerDeclContext decl_context = function_block->GetDeclContext(); in ScanContext() local 128 if (!decl_context) { in ScanContext() 135 ClangASTContext::DeclContextGetAsCXXMethodDecl(decl_context)) { in ScanContext() 165 decl_context)) { in ScanContext() 197 ClangASTContext::DeclContextGetAsFunctionDecl(decl_context)) { in ScanContext() 205 ClangASTContext::DeclContextGetMetaData(decl_context, function_decl); in ScanContext()
|
| H A D | ClangASTSource.cpp | 517 const DeclContext *decl_context, in FindExternalLexicalDecls() argument 522 if (auto *interface_decl = dyn_cast<ObjCInterfaceDecl>(decl_context)) { in FindExternalLexicalDecls() 530 return GetMergerUnchecked().FindExternalLexicalDecls(decl_context, in FindExternalLexicalDecls() 540 const Decl *context_decl = dyn_cast<Decl>(decl_context); in FindExternalLexicalDecls() 644 const_cast<DeclContext *>(decl_context); in FindExternalLexicalDecls() 646 if (copied_decl->getDeclContext() != decl_context) { in FindExternalLexicalDecls()
|
| H A D | ClangExpressionDeclMap.cpp | 224 auto *decl_context = llvm::cast<DeclContext>(decl); in Complete() local 227 for (Decl *child : decl_context->decls()) in Complete()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | ClangASTImporter.cpp | 134 clang::DeclContext *decl_context; member 216 for (DeclContext *decl_context = decl->getLexicalDeclContext(); in OverrideAllDeclsFromContainingFunction() local 217 decl_context; decl_context = decl_context->getLexicalParent()) { in OverrideAllDeclsFromContainingFunction() 218 DeclContext *redecl_context = decl_context->getRedeclContext(); in OverrideAllDeclsFromContainingFunction() 222 for (clang::Decl *child_decl : decl_context->decls()) { in OverrideAllDeclsFromContainingFunction() 231 backup.first->setDeclContext(backup.second.decl_context); in ~DeclContextOverride()
|
| H A D | Symtab.cpp | 388 llvm::StringRef decl_context = rmc.GetBufferRef(); in RegisterMangledNameEntry() local 391 if (decl_context.empty()) { in RegisterMangledNameEntry() 402 const char *decl_context_ccstr = ConstString(decl_context).GetCString(); in RegisterMangledNameEntry() 426 const NameToIndexMap::Entry &entry, const char *decl_context, in RegisterBacklogEntry() argument 428 auto it = class_contexts.find(decl_context); in RegisterBacklogEntry()
|
| H A D | ClangASTContext.cpp | 1532 DeclContext *const decl_context = in CreateTemplateParameterList() local 1542 *ast, decl_context, in CreateTemplateParameterList() 1549 *ast, decl_context, in CreateTemplateParameterList() 1563 *ast, decl_context, in CreateTemplateParameterList() 1570 *ast, decl_context, in CreateTemplateParameterList() 2030 if (decl_context != nullptr) { in CreateVariableDeclaration() 2037 decl_context->addDecl(var_decl); in CreateVariableDeclaration() 10018 for (clang::DeclContext *decl_context = root_decl_ctx; in DeclContextFindDeclByName() local 10019 decl_context != nullptr && found_decls.empty(); in DeclContextFindDeclByName() 10020 decl_context = decl_context->getParent()) { in DeclContextFindDeclByName() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParser.h | 53 GetDIEForDeclContext(lldb_private::CompilerDeclContext decl_context) = 0;
|
| H A D | DWARFASTParserClang.cpp | 148 std::vector<CompilerContext> decl_context; in ParseTypeFromDWO() local 149 die.GetDeclContext(decl_context); in ParseTypeFromDWO() 164 if (sym_vendor->FindTypes(decl_context, true, dwo_types)) in ParseTypeFromDWO() 2416 lldb_private::CompilerDeclContext decl_context) { in GetDIEForDeclContext() argument 3608 clang::DeclContext *decl_context = in GetClangDeclForDIE() local 3612 decl_context, name, in GetClangDeclForDIE() 3623 clang::DeclContext *decl_context = in GetClangDeclForDIE() local 3642 clang::DeclContext *decl_context = in GetClangDeclForDIE() local 3764 CompilerDeclContext decl_context = in GetDeclContextForBlock() local 3776 clang::DeclContext *decl_context = in ResolveBlockDIE() local [all …]
|
| H A D | DWARFASTParserClang.h | 55 GetDIEForDeclContext(lldb_private::CompilerDeclContext decl_context) override;
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | c-decl.c | 71 enum decl_context enum 4433 enum decl_context decl_context, bool initialized, tree *width) in grokdeclarator() argument 4457 if (decl_context == FUNCDEF) in grokdeclarator() 4511 decl_context = PARM; in grokdeclarator() 4516 if ((decl_context == NORMAL || decl_context == FIELD) in grokdeclarator() 4608 switch (decl_context) in grokdeclarator() 4794 else if ((decl_context == NORMAL || decl_context == FIELD) in grokdeclarator() 4938 if (decl_context != PARM in grokdeclarator() 5063 && (decl_context == NORMAL || decl_context == FIELD) in grokdeclarator() 5132 if (decl_context == BLOCKDEF) in grokdeclarator() [all …]
|
| H A D | dwarf2out.c | 13080 tree decl_context = DECL_CONTEXT (decl); in force_decl_die() local 13081 if (decl_context) in force_decl_die() 13084 if (TYPE_P (decl_context)) in force_decl_die() 13085 context_die = force_type_die (decl_context); in force_decl_die() 13087 context_die = force_decl_die (decl_context); in force_decl_die()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Symbol/ |
| H A D | ClangASTContext.h | 218 clang::DeclContext *decl_context = nullptr) { 224 if (!decl_context) 225 decl_context = ast->getTranslationUnitDecl(); 233 decl_context->lookup(myName); 988 clang::VarDecl *CreateVariableDeclaration(clang::DeclContext *decl_context,
|
| H A D | Symtab.h | 206 const char *decl_context,
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.cpp | 1093 clang::DeclContext *decl_context = nullptr; in CreateEnumType() local 1095 std::tie(decl_context, uname) = CreateDeclInfoForType(er, id.index); in CreateEnumType() 1100 uname.c_str(), decl_context, declaration, ToCompilerType(underlying_type), in CreateEnumType()
|