Searched refs:CurContext (Results 26 - 42 of 42) sorted by relevance
12
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 410 /// CurContext - This is the current declaration context of parsing. 411 DeclContext *CurContext; member in class:clang::final 884 : S(S), SavedContext(S.CurContext), 891 S.CurContext = ContextToPush; 901 S.CurContext = SavedContext; 953 Ctx.Entity = cast<Decl>(S.CurContext); 962 if (auto *FD = dyn_cast<FunctionDecl>(S.CurContext)) 3701 if (cast<Decl>(CurContext) 11699 /// - If CurContext is a __host__ function, does not emit any diagnostics. 11700 /// - If CurContext i [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 115 ((Actions.CurContext->isDependentContext() ||
|
H A D | Parser.cpp | 1222 Actions.CurContext->isTranslationUnit()) {
|
H A D | ParseDecl.cpp | 6294 Actions.CurContext->isRecord()); 6315 ThisScope.emplace(Actions, dyn_cast<CXXRecordDecl>(Actions.CurContext), Q,
|
H A D | ParseExpr.cpp | 2861 DeclContext *CodeDC = Actions.CurContext;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExceptionSpec.cpp | 43 auto *RD = dyn_cast<CXXRecordDecl>(CurContext);
|
H A D | SemaTemplateInstantiateDecl.cpp | 2944 if (auto *RD = dyn_cast<CXXRecordDecl>(SemaRef.CurContext)) 4780 // FIXME: Is CurContext correct for this? Should we go to the (instantiation 5451 cast<CXXRecordDecl>(CurContext->getParent())); 5832 Decl *Inst = SubstDecl(D, CurContext, TemplateArgs); 5841 Decl *Inst = SubstDecl(D, CurContext, TemplateArgs); 5863 DeclContext *DC = CurContext;
|
H A D | SemaExprObjC.cpp | 1649 ObjCMethodDecl *MD = dyn_cast<ObjCMethodDecl>(CurContext); 1909 dyn_cast_or_null<ObjCMethodDecl>(CurContext->getNonClosureAncestor()); 3358 ObjCMethodDecl *method = dyn_cast<ObjCMethodDecl>(CurContext);
|
H A D | SemaPseudoObject.cpp | 559 cast<ObjCMethodDecl>(S.CurContext->getNonClosureAncestor());
|
H A D | TreeTransform.h | 2204 getSema().CurContext->addDecl(Var); 2957 getSema().CurContext); 2968 getSema().CurContext); 7605 auto *FD = cast<FunctionDecl>(SemaRef.CurContext); 11136 getSema().CurContext != E->getParentContext(); 11143 getSema().CurContext); 11396 E->getUsedContext() == SemaRef.CurContext) 11411 E->getUsedContext() == SemaRef.CurContext) 11952 getSema().Context, getSema().CurContext,
|
H A D | SemaTemplateInstantiate.cpp | 1246 Decl *Inst = getSema().SubstDecl(D, getSema().CurContext, TemplateArgs); 2463 // FIXME: OldParm may come from a FunctionProtoType, in which case CurContext 2465 NewParm->setDeclContext(CurContext);
|
H A D | SemaDeclAttr.cpp | 7652 DeclContext *SavedContext = CurContext; 7653 CurContext = Context.getTranslationUnitDecl(); 7654 NewD->setDeclContext(CurContext); 7655 NewD->setLexicalDeclContext(CurContext); 7657 CurContext = SavedContext;
|
H A D | SemaInit.cpp | 9079 isa<CXXConstructorDecl>(S.CurContext)) { 9085 = cast<CXXConstructorDecl>(S.CurContext); 9163 isa<CXXConstructorDecl>(S.CurContext)) { 9167 CXXConstructorDecl *Constructor = cast<CXXConstructorDecl>(S.CurContext);
|
H A D | SemaType.cpp | 3308 if (isa<ObjCContainerDecl>(SemaRef.CurContext)) { 3311 switch (cast<TagDecl>(SemaRef.CurContext)->getTagKind()) { 3532 !S.CurContext->isFunctionOrMethod() || 4050 for (DeclContext *ctx = S.CurContext; ctx; ctx = ctx->getParent()) {
|
H A D | SemaTemplateDeduction.cpp | 2722 if (Inst.isInvalid() || !S.SubstDecl(TTP, S.CurContext, Args)) 4150 DeclContext *CallingCtx = CurContext;
|
H A D | SemaChecking.cpp | 4265 if (CurContext->isDependentContext()) 5536 DeclContext *Caller = S.CurContext;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclCXX.h | 1485 bool isCurrentInstantiation(const DeclContext *CurContext) const;
|
Completed in 898 milliseconds
12