Searched refs:DeclContext (Results 51 - 75 of 199) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h139 class ObjCMethodDecl : public NamedDecl, public DeclContext {
140 // This class stores some data in DeclContext::ObjCMethodDeclBits
174 DeclContext *contextDecl, bool isInstance = true,
235 DeclContext *contextDecl, bool isInstance = true,
537 static DeclContext *castToDeclContext(const ObjCMethodDecl *D) {
538 return static_cast<DeclContext *>(const_cast<ObjCMethodDecl*>(D));
541 static ObjCMethodDecl *castFromDeclContext(const DeclContext *DC) {
542 return static_cast<ObjCMethodDecl *>(const_cast<DeclContext*>(DC));
586 ObjCTypeParamDecl(ASTContext &ctx, DeclContext *dc,
602 static ObjCTypeParamDecl *Create(ASTContext &ctx, DeclContext *d
[all...]
H A DExternalASTSource.h153 FindExternalVisibleDeclsByName(const DeclContext *DC, DeclarationName Name);
159 virtual void completeVisibleDeclsMap(const DeclContext *DC);
176 /// DeclContext, after applying an optional filter predicate.
183 FindExternalLexicalDecls(const DeclContext *DC,
188 /// DeclContext.
189 void FindExternalLexicalDecls(const DeclContext *DC,
310 SetExternalVisibleDeclsForName(const DeclContext *DC,
315 SetNoExternalVisibleDeclsForName(const DeclContext *DC,
H A DLexicallyOrderedRecursiveASTVisitor.h79 bool TraverseDeclContextHelper(DeclContext *DC) {
H A DDeclFriend.h84 FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend,
111 static FriendDecl *Create(ASTContext &C, DeclContext *DC,
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbAstBuilder.cpp214 std::pair<clang::DeclContext *, std::string>
235 clang::DeclContext *context = m_clang.GetTranslationUnitDecl();
264 // the right DeclContext created for any parent.
438 clang::DeclContext *scope = GetParentDeclContext(id);
485 clang::DeclContext *PdbAstBuilder::GetOrCreateDeclContextForUid(PdbSymUid uid) {
500 std::pair<clang::DeclContext *, std::string>
532 clang::DeclContext *
576 clang::DeclContext *PdbAstBuilder::GetParentDeclContext(PdbSymUid uid) {
599 // In this case the parent DeclContext is the one for the class that this
768 clang::DeclContext *contex
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTWriter.h414 llvm::SmallSetVector<const DeclContext *, 16> UpdatedDeclContexts;
494 bool isLookupResultExternal(StoredDeclsList &Result, DeclContext *DC);
495 bool isLookupResultEntirelyExternal(StoredDeclsList &Result, DeclContext *DC);
497 void GenerateNameLookupTable(const DeclContext *DC,
499 uint64_t WriteDeclContextLexicalBlock(ASTContext &Context, DeclContext *DC);
500 uint64_t WriteDeclContextVisibleBlock(ASTContext &Context, DeclContext *DC);
509 void WriteDeclContextVisibleUpdate(const DeclContext *DC);
722 void AddedVisibleDecl(const DeclContext *DC, const Decl *D) override;
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp122 DeclContext *DC, SourceLocation StartLoc,
130 DeclContext *DC, SourceLocation StartLoc,
145 CXXRecordDecl::CreateLambda(const ASTContext &C, DeclContext *DC,
1440 static bool allLookupResultsAreTheSame(const DeclContext::lookup_result &R) {
1452 DeclContext::lookup_result Calls = RD.lookup(Name);
1481 DeclContext::lookup_result Invoker = lookup(Name);
1816 DeclContext::lookup_result R = lookup(Name);
1844 static bool isDeclContextInNamespace(const DeclContext *DC) {
2007 ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
2022 ASTContext &C, DeclContext *D
[all...]
H A DDecl.cpp105 DeclContext(TranslationUnit), Ctx(ctx) {}
304 const DeclContext *DC = D->getDeclContext();
717 for (const DeclContext *DC = D->getDeclContext();
1190 LinkageInfo LinkageComputer::getLVForClosure(const DeclContext *DC,
1570 const DeclContext *Ctx = getDeclContext();
1589 using ContextsTy = SmallVector<const DeclContext *, 8>;
1599 for (const DeclContext *DC : llvm::reverse(Contexts)) {
1950 VarDecl::VarDecl(Kind DK, ASTContext &C, DeclContext *DC,
1967 VarDecl *VarDecl::Create(ASTContext &C, DeclContext *DC,
2034 const DeclContext *D
[all...]
H A DDeclObjC.cpp67 ObjCContainerDecl::ObjCContainerDecl(Kind DK, DeclContext *DC,
70 : NamedDecl(DK, DC, nameLoc, Id), DeclContext(DK) {
177 ObjCPropertyDecl::findPropertyDecl(const DeclContext *DC,
198 DeclContext::lookup_result R = DC->lookup(propertyID);
200 for (DeclContext::lookup_iterator I = R.begin(), E = R.end(); I != E;
256 ObjCPropertyDecl::findPropertyDecl(cast<DeclContext>(this), PropertyId,
380 ObjCPropertyDecl::findPropertyDecl(cast<DeclContext>(this), PropertyId,
781 QualType T, TypeSourceInfo *ReturnTInfo, DeclContext *contextDecl,
786 DeclContext(ObjCMethod), MethodDeclType(T), ReturnTInfo(ReturnTInfo),
789 // Initialized the bits stored in DeclContext
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerCompileUnit.cpp84 DeclContext *Ctxt, PatchLocation Attr) {
93 DeclContext *Ctxt;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp44 static bool isTrackedVar(const VarDecl *vd, const DeclContext *dc) {
67 void computeMap(const DeclContext &dc);
78 void DeclToIndex::computeMap(const DeclContext &dc) {
80 DeclContext::specific_decl_iterator<VarDecl> I(dc.decls_begin()),
130 void computeSetOfDeclarations(const DeclContext &dc);
160 void CFGBlockValues::computeSetOfDeclarations(const DeclContext &dc) {
251 static FindVarResult findVar(const Expr *E, const DeclContext *DC) {
276 const DeclContext *DC;
286 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {}
497 return ::isTrackedVar(vd, cast<DeclContext>(a
[all...]
H A DCallGraph.cpp140 void CallGraph::addNodesForBlocks(DeclContext *D) {
145 if (auto *DC = dyn_cast<DeclContext>(I))
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTUtils.h62 bool FindExternalVisibleDeclsByName(const clang::DeclContext *DC,
67 void completeVisibleDeclsMap(const clang::DeclContext *DC) override {
85 const clang::DeclContext *DC,
329 bool FindExternalVisibleDeclsByName(const clang::DeclContext *DC,
337 void completeVisibleDeclsMap(const clang::DeclContext *DC) override {
344 const clang::DeclContext *DC,
558 clang::DeclContext *MemberContext, bool EnteringContext,
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h40 class DeclContext;
337 using VisitedContextSet = llvm::SmallPtrSet<DeclContext *, 8>;
413 void addVisitedContext(DeclContext *Ctx) {
646 llvm::DenseMap<const DeclContext *, StringRef> ParentNames;
663 StringRef getParentName(const DeclContext *DC);
737 void addParentContext(const DeclContext *DC);
H A DExternalSemaSource.h215 DeclContext *MemberContext,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp61 const DeclContext *DC) {
76 const DeclContext *DC,
249 static bool isDeclADefinition(const Decl *D, const DeclContext *ContainerDC, ASTContext &Ctx) {
366 const DeclContext *ContainerDC) {
H A DIndexDecl.cpp48 const DeclContext *DC) {
594 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
605 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
622 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
631 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
748 if (!Visitor.Handled && isa<DeclContext>(D))
749 return indexDeclContext(cast<DeclContext>(D));
754 bool IndexingContext::indexDeclContext(const DeclContext *DC) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DMultiplexExternalSemaSource.cpp106 FindExternalVisibleDeclsByName(const DeclContext *DC, DeclarationName Name) {
113 void MultiplexExternalSemaSource::completeVisibleDeclsMap(const DeclContext *DC){
119 const DeclContext *DC, llvm::function_ref<bool(Decl::Kind)> IsKindWeWant,
326 DeclContext *MemberContext,
H A DSemaCXXScopeSpec.cpp28 DeclContext *CurContext) {
46 /// Compute the DeclContext that is associated with the given type.
48 /// \param T the type for which we are attempting to find a DeclContext.
53 DeclContext *Sema::computeDeclContext(QualType T) {
61 /// Compute the DeclContext that is associated with the given
74 DeclContext *Sema::computeDeclContext(const CXXScopeSpec &SS,
82 // instantiation, return its DeclContext.
142 llvm_unreachable("Dependent nested-name-specifier has no DeclContext");
194 /// into the DeclContext. A type that is not yet completed can be
200 DeclContext *D
[all...]
H A DSemaModule.cpp23 SourceLocation ImportLoc, DeclContext *DC,
449 // FIXME: Consider creating a child DeclContext to hold the entities
547 for (const DeclContext *DC = CurContext; DC; DC = DC->getLexicalParent()) {
583 static bool checkExportedDeclContext(Sema &S, DeclContext *DC,
673 if (auto *DC = dyn_cast<DeclContext>(D))
680 static bool checkExportedDeclContext(Sema &S, DeclContext *DC,
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFASTParserClang.cpp224 clang::DeclContext *defn_decl_ctx = GetCachedClangDeclContextForDIE(die);
234 clang::DeclContext *decl_ctx,
407 clang::DeclContext *context =
432 if (clang::DeclContext *decl_ctx =
761 clang::DeclContext *defn_decl_ctx =
867 clang::DeclContext *containing_decl_ctx =
997 clang::DeclContext *spec_clang_decl_ctx =
1016 clang::DeclContext *abs_clang_decl_ctx =
1547 clang::DeclContext *defn_decl_ctx =
1559 clang::DeclContext *decl_ct
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp83 if (DeclContext *DC = dyn_cast<DeclContext>(D)) {
87 Out << "Lookup map is in primary DeclContext "
90 Out << "Not a DeclContext\n";
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/
H A DCallGraph.h34 class DeclContext;
108 void addNodesForBlocks(DeclContext *D);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h31 class DeclContext;
208 const T *findDefInDeclContext(const DeclContext *DC,
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransEmptyStatementsAndDealloc.cpp196 DeclContext *DC = Ctx.getTranslationUnitDecl();
200 typedef DeclContext::specific_decl_iterator<ObjCImplementationDecl>

Completed in 320 milliseconds

12345678