| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclBase.cpp | 355 void Decl::setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, in setDeclContextsImpl() 1057 DeclContext::DeclContext(Decl::Kind K) { in DeclContext() function in DeclContext 1085 DeclContext::~DeclContext() = default; 1093 DeclContext *DeclContext::getLookupParent() { in getLookupParent() 1210 bool DeclContext::Encloses(const DeclContext *DC) const { in Encloses() 1220 DeclContext *DeclContext::getPrimaryContext() { in getPrimaryContext() 1410 DeclContext::decl_iterator DeclContext::decls_begin() const { in decls_begin() 1609 void DeclContext::buildLookupImpl(DeclContext *DCtx, bool Internal) { in buildLookupImpl() 1771 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() 1789 DeclContext *DeclContext::getEnclosingNamespaceContext() { in getEnclosingNamespaceContext() [all …]
|
| H A D | ExternalASTMerger.cpp | 38 const DeclContext *CanonicalizeDC(const DeclContext *DC) { in CanonicalizeDC() 44 Source<const DeclContext *> 51 Source<const DeclContext *> SourceParentDC = in LookupSameContext() 65 DeclContext::lookup_result SearchResult = in LookupSameContext() 79 if (isa<DeclContext>(SearchResultDecl) && in LookupSameContext() 201 if (auto *ToDC = dyn_cast<DeclContext>(To)) { in Imported() 210 Source<DeclContext *> FromDC( in Imported() 211 cast<DeclContext>(From)->getPrimaryContext()); in Imported() 358 bool IsSameDC(const DeclContext *D1, const DeclContext *D2) { in IsSameDC() 373 Source<const DeclContext *> FoundFromDC = in MaybeRecordOrigin() [all …]
|
| H A D | ASTImporterLookupTable.cpp | 89 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add() 95 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove() 104 DeclContext *DC = ND->getDeclContext()->getPrimaryContext(); in add() 106 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext(); in add() 113 DeclContext *DC = ND->getDeclContext()->getPrimaryContext(); in remove() 115 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext(); in remove() 120 void ASTImporterLookupTable::update(NamedDecl *ND, DeclContext *OldDC) { in update() 134 ASTImporterLookupTable::lookup(DeclContext *DC, DeclarationName Name) const { in lookup() 147 bool ASTImporterLookupTable::contains(DeclContext *DC, NamedDecl *ND) const { in contains() 151 void ASTImporterLookupTable::dump(DeclContext *DC) const { in dump() [all …]
|
| H A D | DeclOpenMP.cpp | 29 DeclContext *DC, in Create() 57 OMPAllocateDecl *OMPAllocateDecl::Create(ASTContext &C, DeclContext *DC, in Create() 85 OMPRequiresDecl *OMPRequiresDecl::Create(ASTContext &C, DeclContext *DC, in Create() 103 Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name, in OMPDeclareReductionDecl() 105 : ValueDecl(DK, DC, L, Name, Ty), DeclContext(DK), Combiner(nullptr), in OMPDeclareReductionDecl() 113 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create() 143 ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name, in Create() 174 OMPCapturedExprDecl *OMPCapturedExprDecl::Create(ASTContext &C, DeclContext *DC, in Create()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.h | 77 class DeclContext { 79 using Map = DenseSet<DeclContext *, DeclMapInfo>; 112 const DeclContext &Parent; 134 PointerIntPair<DeclContext *, 1> getChildDeclContext(DeclContext &Context, 139 DeclContext &getRoot() { return Root; } in getRoot() 143 DeclContext Root; 144 DeclContext::Map Contexts; 163 using DenseMapInfo<DeclContext *>::getEmptyKey; 164 using DenseMapInfo<DeclContext *>::getTombstoneKey; 166 static unsigned getHashValue(const DeclContext *Ctxt) { in getHashValue() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclBase.h | 46 class DeclContext; variable 248 friend class DeclContext; 251 DeclContext *SemanticDC; 252 DeclContext *LexicalDC; 1190 void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC, 1347 class DeclContext { 1851 ~DeclContext(); 2579 const ::clang::DeclContext,const ::clang::DeclContext> { 2586 struct cast_convert_val<ToTy, ::clang::DeclContext, ::clang::DeclContext> { 2594 const ::clang::DeclContext*, const ::clang::DeclContext*> { [all …]
|
| H A D | ASTImporterLookupTable.h | 26 class DeclContext; variable 55 using DCMap = llvm::DenseMap<DeclContext *, NameMap>; 57 void add(DeclContext *DC, NamedDecl *ND); 58 void remove(DeclContext *DC, NamedDecl *ND); 77 void update(NamedDecl *ND, DeclContext *OldDC); 79 LookupResult lookup(DeclContext *DC, DeclarationName Name) const; 83 bool contains(DeclContext *DC, NamedDecl *ND) const; 84 void dump(DeclContext *DC) const;
|
| H A D | DeclLookups.h | 28 class DeclContext::all_lookups_iterator { 75 inline DeclContext::lookups_range DeclContext::lookups() const { in lookups() 76 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in lookups() 88 inline DeclContext::lookups_range 89 DeclContext::noload_lookups(bool PreserveInternalState) const { in noload_lookups() 90 DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext(); in noload_lookups()
|
| H A D | ExternalASTMerger.h | 53 DeclContext *DC; 57 typedef std::map<const DeclContext *, DCOrigin> OriginMap; 143 bool FindExternalVisibleDeclsByName(const DeclContext *DC, 148 FindExternalLexicalDecls(const DeclContext *DC, 159 bool CanComplete(DeclContext *DC); 163 void MaybeRecordOrigin(const DeclContext *ToDC, DCOrigin Origin); 166 void ForceRecordOrigin(const DeclContext *ToDC, DCOrigin Origin); 185 void RecordOriginImpl(const DeclContext *ToDC, DCOrigin Origin, 191 void ForEachMatchingDC(const DeclContext *DC, CallbackType Callback);
|
| H A D | DeclOpenMP.h | 50 static T *createDirective(const ASTContext &C, DeclContext *DC, in createDirective() 115 OMPThreadPrivateDecl(DeclContext *DC = nullptr, 132 static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC, 203 OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L, 274 const_cast<DeclContext *>(DC)); in castFromDeclContext() 287 public DeclContext { 306 DeclContext(OMPDeclareMapper), VarName(VarName), in OMPDeclareMapperDecl() 422 OMPRequiresDecl(DeclContext *DC, SourceLocation L) in OMPRequiresDecl() 427 static OMPRequiresDecl *Create(ASTContext &C, DeclContext *DC, 479 OMPAllocateDecl(DeclContext *DC, SourceLocation L) in OMPAllocateDecl() [all …]
|
| H A D | Decl.h | 83 public DeclContext, 225 DeclContext(ExternCContext) {} in ExternCContextDecl() 370 const DeclContext *DC = getDeclContext(); in isCXXClassMember() 680 ValueDecl(Kind DK, DeclContext *DC, SourceLocation L, in ValueDecl() 1852 public DeclContext, 3042 EnumConstantDecl(DeclContext *DC, SourceLocation L, in EnumConstantDecl() 3316 public DeclContext, 3850 friend class DeclContext; 4140 class BlockDecl : public Decl, public DeclContext { 4207 BlockDecl(DeclContext *DC, SourceLocation CaretLoc); [all …]
|
| H A D | ASTLambda.h | 33 inline bool isLambdaCallOperator(const DeclContext *DC) { in isLambdaCallOperator() 62 inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) { in isGenericLambdaCallOperatorSpecialization() 68 DeclContext *DC) { in isGenericLambdaCallOperatorOrStaticInvokerSpecialization() 81 inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) { in getLambdaAwareParentOfDeclContext()
|
| H A D | DependentDiagnostic.h | 41 DeclContext *Parent, in Create() 99 friend class DeclContext::ddiag_iterator; 107 DeclContext *Parent, 125 class DeclContext::ddiag_iterator { 175 inline DeclContext::ddiag_range DeclContext::ddiags() const { in ddiags()
|
| H A D | DeclCXX.h | 91 AccessSpecDecl(AccessSpecifier AS, DeclContext *DC, in AccessSpecDecl() 262 friend class DeclContext; variable 2796 class LinkageSpecDecl : public Decl, public DeclContext { 2896 DeclContext *CommonAncestor; 2903 DeclContext *CommonAncestor) in UsingDirectiveDecl() 2922 friend class DeclContext; variable 3004 NamespaceAliasDecl(ASTContext &C, DeclContext *DC, in NamespaceAliasDecl() 3389 UsingDecl(DeclContext *DC, SourceLocation UL, in UsingDecl() 3432 static UsingDecl *Create(ASTContext &C, DeclContext *DC, 3727 UnresolvedUsingValueDecl(DeclContext *DC, QualType Ty, in UnresolvedUsingValueDecl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.cpp | 30 bool DeclContext::setLastSeenDIE(CompileUnit &U, const DWARFDie &Die) { in setLastSeenDIE() 43 PointerIntPair<DeclContext *, 1> 55 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 59 return PointerIntPair<DeclContext *, 1>(&Context); in getChildDeclContext() 65 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 79 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 101 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 140 return PointerIntPair<DeclContext *, 1>(nullptr); in getChildDeclContext() 160 DeclContext Key(Hash, Line, ByteSize, Tag, NameRef, FileRef, Context); in getChildDeclContext() 166 DeclContext *NewContext = in getChildDeclContext() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | DeclNodes.td | 10 class DeclContext {} 13 def TranslationUnit : DeclNode<Decl>, DeclContext; 16 def ExternCContext : DeclNode<Decl>, DeclContext; 18 def Namespace : DeclNode<Named, "namespaces">, DeclContext; 28 def Tag : DeclNode<Type, "tag types", 1>, DeclContext; 42 def OMPDeclareMapper : DeclNode<Value>, DeclContext; 92 def LinkageSpec : DeclNode<Decl>, DeclContext; 93 def Export : DeclNode<Decl>, DeclContext; 100 def Block : DeclNode<Decl, "blocks">, DeclContext; 101 def Captured : DeclNode<Decl>, DeclContext; [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbAstBuilder.h | 22 class DeclContext; variable 60 clang::DeclContext *GetOrCreateDeclContextForUid(PdbSymUid uid); 61 clang::DeclContext *GetParentDeclContext(PdbSymUid uid); 69 void ParseDeclsForContext(clang::DeclContext &context); 79 CompilerDeclContext ToCompilerDeclContext(clang::DeclContext &context); 81 clang::DeclContext *FromCompilerDeclContext(CompilerDeclContext context); 113 clang::DeclContext &scope); 114 clang::DeclContext * 121 void ParseDeclsForSimpleContext(clang::DeclContext &context); 125 std::pair<clang::DeclContext *, std::string> [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexingContext.h | 28 class DeclContext; variable 76 const DeclContext *DC = nullptr); 80 const DeclContext *DC, 103 const DeclContext *DC = nullptr, 108 const DeclContext *DC = nullptr, 114 const DeclContext *DC = nullptr); 116 bool indexDeclContext(const DeclContext *DC); 119 const DeclContext *DC = nullptr); 135 const DeclContext *ContainerDC);
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | CxxModuleHandler.cpp | 52 static void makeScopes(Sema &sema, DeclContext *ctxt, in makeScopes() 70 emulateLookupInCtxt(Sema &sema, llvm::StringRef name, DeclContext *ctxt) { in emulateLookupInCtxt() 101 MissingDeclContext(DeclContext *context, std::string error) in MissingDeclContext() 104 DeclContext *m_context; 122 static llvm::Expected<DeclContext *> 123 getEqualLocalDeclContext(Sema &sema, DeclContext *foreign_ctxt) { in getEqualLocalDeclContext() 134 llvm::Expected<DeclContext *> parent = in getEqualLocalDeclContext() 146 if (DeclContext *DC = llvm::dyn_cast<DeclContext>(named_decl)) in getEqualLocalDeclContext() 206 llvm::Expected<DeclContext *> to_context = in tryInstantiateStdTemplate()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.h | 53 clang::DeclContext * 55 clang::DeclContext * 58 void ParseDeclsForDeclContext(const clang::DeclContext *decl_context); 60 clang::NamespaceDecl *FindNamespaceDecl(const clang::DeclContext *parent, 72 typedef llvm::DenseMap<clang::DeclContext *, NamespacesSet> 74 typedef llvm::DenseMap<clang::DeclContext *, lldb::user_id_t>
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/ |
| H A D | Lookup.cpp | 30 getAllNamedNamespaces(const DeclContext *Context) { in getAllNamedNamespaces() 32 auto GetNextNamedNamespace = [](const DeclContext *Context) { in getAllNamedNamespaces() 49 usingFromDifferentCanonicalNamespace(const DeclContext *FromContext, in usingFromDifferentCanonicalNamespace() 50 const DeclContext *UseContext) { in usingFromDifferentCanonicalNamespace() 85 static StringRef getBestNamespaceSubstr(const DeclContext *DeclA, in getBestNamespaceSubstr() 129 const DeclContext &UseContext, in disambiguateSpellingInScope() 187 const DeclContext *UseContext, in replaceNestedName()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFASTParserClang.h | 77 typedef llvm::DenseMap<const DWARFDebugInfoEntry *, clang::DeclContext *> 79 typedef std::multimap<const clang::DeclContext *, const DWARFDIE> 97 clang::DeclContext *GetDeclContextForBlock(const DWARFDIE &die); 120 ParseChildParameters(clang::DeclContext *containing_decl_ctx, 141 clang::DeclContext *GetClangDeclContextForDIE(const DWARFDIE &die); 143 clang::DeclContext *GetClangDeclContextContainingDIE(const DWARFDIE &die, 152 clang::DeclContext *GetCachedClangDeclContextForDIE(const DWARFDIE &die); 154 void LinkDeclContextToDIE(clang::DeclContext *decl_ctx, const DWARFDIE &die);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLookup.cpp | 57 const DeclContext *Nominated; 58 const DeclContext *CommonAncestor; 115 DeclContext *Ctx = S->getEntity(); in visitScopeChain() 133 void visit(DeclContext *DC, DeclContext *EffectiveDC) { in visit() 155 void addUsingDirectives(DeclContext *DC, DeclContext *EffectiveDC) { in addUsingDirectives() 156 SmallVector<DeclContext*, 4> queue; in addUsingDirectives() 1976 DeclContext *DC = nullptr; in LookupName() 1988 DeclContext *LastDC in LookupName() 2167 DeclContext *Context; in LookupQualifiedName() 4442 DeclContext *Ctx = NSI.DeclCtx; in performQualifiedLookups() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.h | 312 CompilerType CreateRecordType(clang::DeclContext *decl_ctx, 349 CreateClassTemplateDecl(clang::DeclContext *decl_ctx, 366 static clang::DeclContext * 378 clang::DeclContext *decl_ctx, 413 CreateParameterDeclaration(clang::DeclContext *decl_ctx, 430 clang::DeclContext *decl_ctx, 498 CompilerDeclContext CreateDeclContext(clang::DeclContext *ctx); 522 static clang::DeclContext * 837 uint32_t CountDeclLevels(clang::DeclContext *frame_decl_ctx, 838 clang::DeclContext *child_decl_ctx, [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaInternal.h | 96 DeclContext *MemberContext, in TypoCorrectionConsumer() 113 void FoundDecl(NamedDecl *ND, NamedDecl *Hiding, DeclContext *Ctx, 214 DeclContext* DeclCtx; 219 typedef SmallVector<DeclContext*, 4> DeclContextList; 232 static DeclContextList buildContextChain(DeclContext *Start); 238 NamespaceSpecifierSet(ASTContext &Context, DeclContext *CurContext, 243 void addNameSpecifier(DeclContext *Ctx); 313 DeclContext *MemberContext;
|