Home
last modified time | relevance | path

Searched refs:setDeclContext (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1296 decl->setDeclContext(decl_ctx); in CreateRecordType()
1444 func_tmpl_decl->setDeclContext(decl_ctx); in CreateFunctionTemplateDecl()
1818 decl->setDeclContext(decl_ctx); in CreateObjCClass()
1926 decl->setDeclContext(ctx); in CreateBlockDeclaration()
2154 func_decl->setDeclContext(decl_ctx); in CreateFunctionDeclaration()
2216 decl->setDeclContext(decl_ctx); in CreateParameterDeclaration()
2320 enum_decl->setDeclContext(decl_ctx); in CreateEnumerationType()
4619 decl->setDeclContext(decl_ctx); in CreateTypedef()
7346 field->setDeclContext(record_decl); in AddFieldToRecordType()
7557 var_decl->setDeclContext(record_decl); in AddVariableToRecordType()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp122 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
205 backup.first->setDeclContext(backup.second.decl_context); in ~DeclContextOverride()
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp348 typeParam->setDeclContext(this); in setTypeParamList()
2112 typeParam->setDeclContext(this); in setTypeParamList()
H A DDeclBase.cpp328 void Decl::setDeclContext(DeclContext *DC) { in setDeclContext() function in Decl
H A DDeclTemplate.cpp173 P->setDeclContext(Owner); in AdoptTemplateParameterList()
H A DASTContext.cpp8648 VaListTagDecl->setDeclContext(NS); in CreateAArch64ABIBuiltinVaListDecl()
8837 VaListDecl->setDeclContext(NS); in CreateAAPCSABIBuiltinVaListDecl()
H A DASTImporter.cpp2567 ToTypedef->setDeclContext(DC); in VisitTypedefNameDecl()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclBase.h887 void setDeclContext(DeclContext *DC);
H A DDecl.h1827 void setOwningFunction(DeclContext *FD) { setDeclContext(FD); } in setOwningFunction()
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTReaderDecl.cpp580 D->setDeclContext(Reader.getContext().getTranslationUnitDecl()); in VisitDecl()
3863 D->setDeclContext(Context.getTranslationUnitDecl()); in ReadDeclRecord()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp2497 NewParm->setDeclContext(CurContext); in SubstParmVarDecl()
H A DSemaTemplate.cpp2449 Param->setDeclContext(Guide);
2451 TD->setDeclContext(Guide);
H A DSemaDeclObjC.cpp4818 Param->setDeclContext(ObjCMethod); in ActOnMethodDeclaration()
H A DSemaDecl.cpp3519 D->setDeclContext(SemaDC); in adjustDeclContextForDeclaratorDecl()
9876 Param->setDeclContext(NewFD); in ActOnFunctionDeclarator()
9906 TD->setDeclContext(NewFD); in ActOnFunctionDeclarator()
H A DTreeTransform.h12598 Param->setDeclContext(Body); in TransformRequiresExpr()
12610 ->setDeclContext(Body); in TransformRequiresExpr()
H A DSemaExprCXX.cpp9087 Param->setDeclContext(Body); in ActOnStartRequiresExpr()
H A DSemaDeclAttr.cpp9298 NewD->setDeclContext(CurContext); in DeclApplyPragmaWeak()
H A DSemaOpenMP.cpp22125 VD->setDeclContext(DMD); in ActOnOpenMPDeclareMapperDirective()