Searched refs:DeclContext (Results 151 - 175 of 199) sorted by relevance

12345678

/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp132 void VisitDeclContext(DeclContext *DC);
289 // If this declaration is also a DeclContext, write blocks for the
292 if (DeclContext *DC = dyn_cast<DeclContext>(D))
1761 /// Emit the DeclContext part of a declaration context decl.
1762 void ASTDeclWriter::VisitDeclContext(DeclContext *DC) {
1914 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // DeclContext
1947 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // DeclContext
1985 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // DeclContext
2035 Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::VBR, 6)); // DeclContext
[all...]
H A DASTReaderStmt.cpp1274 E->ParentContext = readDeclAs<DeclContext>();
1818 E->UsedContext = readDeclAs<DeclContext>();
1825 E->UsedContext = readDeclAs<DeclContext>();
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DCommentSema.cpp689 const DeclContext *Ctx = FD->getDeclContext();
H A DComputeDependence.cpp542 DeclContext *DC = MemberDecl->getDeclContext();
H A DExpr.cpp752 const DeclContext *Ctx = FD->getDeclContext();
823 for (const DeclContext *DC = CD->getParent(); DC; DC = DC->getParent())
2058 DeclContext *ParentContext)
2083 const DeclContext *Context;
2086 Context) = [&]() -> std::pair<SourceLocation, const DeclContext *> {
H A DTextNodeDumper.cpp290 const auto *DC = dyn_cast<DeclContext>(D);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp495 llvm::SmallPtrSetImpl<const DeclContext *> &InnerContexts);
744 for (DeclContext::decl_iterator DI = LSD->decls_begin(),
3042 const DeclContext *DC = FD->getDeclContext();
3070 const DeclContext *DC = FD->getDeclContext();
4482 llvm::SmallPtrSetImpl<const DeclContext *> &InnerContexts) {
4486 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl()));
5469 llvm::SmallPtrSet<const DeclContext *, 8> InnerContexts;
H A DRewriteObjC.cpp406 llvm::SmallPtrSetImpl<const DeclContext *> &InnerContexts);
676 for (DeclContext::decl_iterator DI = LSD->decls_begin(),
3671 llvm::SmallPtrSetImpl<const DeclContext *> &InnerContexts) {
3675 InnerContexts.insert(cast<DeclContext>(CBE->getBlockDecl()));
4594 llvm::SmallPtrSet<const DeclContext *, 8> InnerContexts;
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4343 const clang::DeclContext *Context = Node.getParentFunctionOrMethod();
6423 const DeclContext *DC = Node.getDeclContext();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1002 P.Actions.ActOnObjCTemporaryExitContainerContext(cast<DeclContext>(DC));
1006 P.Actions.ActOnObjCReenterContainerContext(cast<DeclContext>(DC));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp245 /// Recursive helper to build the global DeclContext information and
253 DeclContext *CurrentDeclContext, UniquingStringPool &StringPool,
621 // If the referenced DIE has a DeclContext that has already been
848 DeclContext *Ctxt = nullptr;
860 // If we already have emitted an equivalent DeclContext, just point
1306 // DeclContext tree. Make the current offset the canonical offset
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp1262 const DeclContext *DC = RD;
H A DCodeGenModule.h1450 void EmitDeclContext(const DeclContext *DC);
H A DMicrosoftCXXABI.cpp797 /// Map from DeclContext to the current guard variable. We assume that the
799 llvm::DenseMap<const DeclContext *, GuardInfo> GuardVariableMap;
800 llvm::DenseMap<const DeclContext *, GuardInfo> ThreadLocalGuardVariableMap;
801 llvm::DenseMap<const DeclContext *, unsigned> ThreadSafeGuardNumMap;
H A DCodeGenModule.cpp1190 MangleCtx.mangleBlock(cast<DeclContext>(D), BD, Out);
3358 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
4784 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
5308 void CodeGenModule::EmitDeclContext(const DeclContext *DC) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateDeduction.cpp2837 static DeclContext *getAsDeclContextOrEnclosing(Decl *D) {
2838 if (auto *DC = dyn_cast<DeclContext>(D))
3542 DeclContext *Owner = FunctionTemplate->getDeclContext();
4150 DeclContext *CallingCtx = CurContext;
H A DSemaInit.cpp2514 DeclContext::lookup_result Lookup = RT->getDecl()->lookup(FieldName);
2586 RecordDecl::field_iterator(DeclContext::decl_iterator(KnownField));
3885 DeclContext::lookup_result Ctors,
4060 DeclContext::lookup_result Ctors = S.LookupConstructors(DestRecordDecl);
6162 DeclContext::lookup_result Ctors = S.LookupConstructors(Class);
6304 DeclContext::lookup_result Ctors =
6751 const DeclContext *DC = D->getDeclContext();
H A DSemaCoroutine.cpp320 DeclContext *LookupCtx = S.computeDeclContext(CoroHandleType);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp353 const DeclContext *Ctx = FD->getDeclContext();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h4196 // DeclContext so that nested declarations always have a dependent context.
4521 DeclContext *ParentContext;
4527 SourceLocation RParenLoc, DeclContext *Context);
4559 const DeclContext *getParentContext() const { return ParentContext; }
4560 DeclContext *getParentContext() { return ParentContext; }
H A DRecursiveASTVisitor.h484 bool TraverseDeclContextHelper(DeclContext *DC);
1359 // the children that come from the DeclContext associated with it.
1377 bool RecursiveASTVisitor<Derived>::TraverseDeclContextHelper(DeclContext *DC) {
1399 TRY_TO(TraverseDeclContextHelper(dyn_cast<DeclContext>(D))); \
H A DType.h111 class DeclContext;
1267 const DeclContext *dc,
2460 getObjCSubstitutions(const DeclContext *dc) const;
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp574 const DeclContext *Ctx = Node.getDeclContext();
581 // FIXME: Any other DeclContext kinds that can be safely disregarded
607 // We don't know how to deal with this DeclContext.
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp279 const DeclContext *D = PV->getDeclContext();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DLocalizationChecker.cpp736 const DeclContext *DC = D->getDeclContext();

Completed in 681 milliseconds

12345678