Home
last modified time | relevance | path

Searched refs:setLexicalDeclContext (Results 1 – 16 of 16) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp2281 ToD->setLexicalDeclContext(LexicalDC); in VisitEmptyDecl()
2345 ToD->setLexicalDeclContext(DC); in VisitAccessSpecDecl()
2372 ToD->setLexicalDeclContext(LexicalDC); in VisitStaticAssertDecl()
2490 ToD->setLexicalDeclContext(LexicalDC); in VisitNamespaceAliasDecl()
2783 D2->setLexicalDeclContext(LexicalDC); in VisitEnumDecl()
2957 D2->setLexicalDeclContext(LexicalDC); in VisitRecordDecl()
3023 D2->setLexicalDeclContext(LexicalDC); in VisitRecordDecl()
3938 FrD->setLexicalDeclContext(LexicalDC); in VisitFriendDecl()
5570 D2->setLexicalDeclContext(LexicalDC); in VisitClassTemplateDecl()
5735 D2->setLexicalDeclContext(LexicalDC); in VisitClassTemplateSpecializationDecl()
[all …]
H A DDeclBase.cpp331 void Decl::setLexicalDeclContext(DeclContext *DC) { in setLexicalDeclContext() function in Decl
H A DDeclObjC.cpp2131 property->setLexicalDeclContext(this); in addPropertyImplementation()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp284 result->setLexicalDeclContext( in tryInstantiateStdTemplate()
H A DClangASTImporter.cpp123 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
206 backup.first->setLexicalDeclContext(backup.second.lexical_decl_context); in ~DeclContextOverride()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp1634 Inst->setLexicalDeclContext(Owner); in VisitClassTemplateDecl()
1635 RecordInst->setLexicalDeclContext(Owner); in VisitClassTemplateDecl()
1640 Inst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitClassTemplateDecl()
1723 Inst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitVarTemplateDecl()
1724 VarInst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitVarTemplateDecl()
2075 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
2107 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
2462 FunctionTemplate->setLexicalDeclContext(Owner); in VisitCXXMethodDecl()
2488 Method->setLexicalDeclContext(Owner); in VisitCXXMethodDecl()
2491 Method->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitCXXMethodDecl()
[all …]
H A DSemaLambda.cpp403 Method->setLexicalDeclContext(CurContext); in startLambdaDefinition()
414 TemplateMethod->setLexicalDeclContext(CurContext); in startLambdaDefinition()
1772 CallOperator->setLexicalDeclContext(Class); in BuildLambdaExpr()
1780 TemplateOrNonTemplateCallOperatorDecl->setLexicalDeclContext(Class); in BuildLambdaExpr()
H A DSemaObjCProperty.cpp216 Res->setLexicalDeclContext(lexicalDC); in ActOnProperty()
633 PDecl->setLexicalDeclContext(lexicalDC); in CreatePropertyDecl()
1068 ImplDecl->setLexicalDeclContext(Impl); in RedeclarePropertyAccessor()
H A DSemaTemplate.cpp2023 NewClass->setLexicalDeclContext(CurContext); in CheckClassTemplate()
2024 NewTemplate->setLexicalDeclContext(CurContext); in CheckClassTemplate()
3820 Decl->setLexicalDeclContext(ClassTemplate->getLexicalDeclContext()); in CheckTemplateIdType()
4460 Specialization->setLexicalDeclContext(CurContext); in ActOnVarTemplateSpecialization()
8574 Specialization->setLexicalDeclContext(CurContext); in ActOnClassTemplateSpecialization()
9084 Specialization->setLexicalDeclContext(FD->getLexicalDeclContext()); in CheckFunctionTemplateSpecialization()
9710 Specialization->setLexicalDeclContext(CurContext); in ActOnExplicitInstantiation()
H A DSemaDecl.cpp3257 D->setLexicalDeclContext(LexDC); in adjustDeclContextForDeclaratorDecl()
7204 NewVD->setLexicalDeclContext(CurContext); in ActOnVariableDeclarator()
7206 NewTemplate->setLexicalDeclContext(CurContext); in ActOnVariableDeclarator()
9063 NewFD->setLexicalDeclContext(CurContext); in ActOnFunctionDeclarator()
9139 FunctionTemplate->setLexicalDeclContext(CurContext); in ActOnFunctionDeclarator()
9472 TD->setLexicalDeclContext(TagDC); in ActOnFunctionDeclarator()
15692 New->setLexicalDeclContext(CurContext); in ActOnTag()
16394 New->setLexicalDeclContext(CurContext); in ActOnTag()
17633 ClsFields[i]->setLexicalDeclContext(ID); in ActOnFields()
17646 ClsFields[I]->setLexicalDeclContext(IMPDecl); in ActOnFields()
[all …]
H A DSemaDeclObjC.cpp2129 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2167 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
H A DSemaDeclAttr.cpp8643 NewD->setLexicalDeclContext(CurContext); in DeclApplyPragmaWeak()
H A DSemaDeclCXX.cpp1263 RefVD->setLexicalDeclContext(Src->getLexicalDeclContext()); in checkTupleLikeDecomposition()
H A DSemaOpenMP.cpp20017 VD->setLexicalDeclContext(DMD); in ActOnOpenMPDeclareMapperDirective()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h2430 method->setLexicalDeclContext(this); in addInstanceMethod()
2436 method->setLexicalDeclContext(this); in addClassMethod()
H A DDeclBase.h860 void setLexicalDeclContext(DeclContext *DC);