Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/AST/
DASTImporter.cpp2229 ToD->setLexicalDeclContext(LexicalDC); in VisitEmptyDecl()
2264 ToD->setLexicalDeclContext(DC); in VisitAccessSpecDecl()
2291 ToD->setLexicalDeclContext(LexicalDC); in VisitStaticAssertDecl()
2359 ToNamespace->setLexicalDeclContext(LexicalDC); in VisitNamespaceDecl()
2409 ToD->setLexicalDeclContext(LexicalDC); in VisitNamespaceAliasDecl()
2491 ToTypedef->setLexicalDeclContext(LexicalDC); in VisitTypedefNameDecl()
2560 ToAlias->setLexicalDeclContext(LexicalDC); in VisitTypeAliasTemplateDecl()
2599 ToLabel->setLexicalDeclContext(LexicalDC); in VisitLabelDecl()
2686 D2->setLexicalDeclContext(LexicalDC); in VisitEnumDecl()
2845 D2->setLexicalDeclContext(LexicalDC); in VisitRecordDecl()
[all …]
DDeclBase.cpp331 void Decl::setLexicalDeclContext(DeclContext *DC) { in setLexicalDeclContext() function in Decl
DDeclObjC.cpp2132 property->setLexicalDeclContext(this); in addPropertyImplementation()
/external/clang/lib/AST/
DASTImporter.cpp2451 accessSpecDecl->setLexicalDeclContext(DC); in VisitAccessSpecDecl()
2509 ToNamespace->setLexicalDeclContext(LexicalDC); in VisitNamespaceDecl()
2590 ToTypedef->setLexicalDeclContext(LexicalDC); in VisitTypedefNameDecl()
2633 ToLabel->setLexicalDeclContext(LexicalDC); in VisitLabelDecl()
2697 D2->setLexicalDeclContext(LexicalDC); in VisitEnumDecl()
2865 D2->setLexicalDeclContext(LexicalDC); in VisitRecordDecl()
2932 ToEnumerator->setLexicalDeclContext(LexicalDC); in VisitEnumConstantDecl()
3103 ToFunction->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
3222 ToField->setLexicalDeclContext(LexicalDC); in VisitFieldDecl()
3300 ToIndirectField->setLexicalDeclContext(LexicalDC); in VisitIndirectFieldDecl()
[all …]
DDeclBase.cpp257 void Decl::setLexicalDeclContext(DeclContext *DC) { in setLexicalDeclContext() function in Decl
DDeclObjC.cpp2011 property->setLexicalDeclContext(this); in addPropertyImplementation()
/external/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1193 Inst->setLexicalDeclContext(Owner); in VisitClassTemplateDecl()
1194 RecordInst->setLexicalDeclContext(Owner); in VisitClassTemplateDecl()
1199 Inst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitClassTemplateDecl()
1200 RecordInst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitClassTemplateDecl()
1282 Inst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitVarTemplateDecl()
1283 VarInst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitVarTemplateDecl()
1566 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
1596 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
1890 FunctionTemplate->setLexicalDeclContext(Owner); in VisitCXXMethodDecl()
1893 FunctionTemplate->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitCXXMethodDecl()
[all …]
DSemaLambda.cpp402 Method->setLexicalDeclContext(CurContext); in startLambdaDefinition()
410 TemplateMethod->setLexicalDeclContext(CurContext); in startLambdaDefinition()
1515 CallOperator->setLexicalDeclContext(Class); in BuildLambdaExpr()
1521 TemplateOrNonTemplateCallOperatorDecl->setLexicalDeclContext(Class); in BuildLambdaExpr()
DSemaTemplate.cpp1148 NewClass->setLexicalDeclContext(CurContext); in CheckClassTemplate()
1149 NewTemplate->setLexicalDeclContext(CurContext); in CheckClassTemplate()
2257 Decl->setLexicalDeclContext(ClassTemplate->getLexicalDeclContext()); in CheckTemplateIdType()
2714 Specialization->setLexicalDeclContext(CurContext); in ActOnVarTemplateSpecialization()
6555 Specialization->setLexicalDeclContext(CurContext); in ActOnClassTemplateSpecialization()
7520 Specialization->setLexicalDeclContext(CurContext); in ActOnExplicitInstantiation()
DSemaObjCProperty.cpp219 Res->setLexicalDeclContext(lexicalDC); in ActOnProperty()
631 PDecl->setLexicalDeclContext(lexicalDC); in CreatePropertyDecl()
DSemaDecl.cpp6196 NewVD->setLexicalDeclContext(CurContext); in ActOnVariableDeclarator()
6198 NewTemplate->setLexicalDeclContext(CurContext); in ActOnVariableDeclarator()
7704 NewFD->setLexicalDeclContext(CurContext); in ActOnFunctionDeclarator()
7781 FunctionTemplate->setLexicalDeclContext(CurContext); in ActOnFunctionDeclarator()
11328 D->setLexicalDeclContext(CurContext); in ActOnStartOfFunctionDef()
13057 New->setLexicalDeclContext(CurContext); in ActOnTag()
14207 ClsFields[i]->setLexicalDeclContext(ID); in ActOnFields()
14220 ClsFields[I]->setLexicalDeclContext(IMPDecl); in ActOnFields()
14252 ClsFields[i]->setLexicalDeclContext(CDecl); in ActOnFields()
DSemaDeclObjC.cpp2032 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2065 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
DSemaDeclAttr.cpp6079 NewD->setLexicalDeclContext(CurContext); in DeclApplyPragmaWeak()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DCxxModuleHandler.cpp280 result->setLexicalDeclContext( in tryInstantiateStdTemplate()
DClangASTImporter.cpp123 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
206 backup.first->setLexicalDeclContext(backup.second.lexical_decl_context); in ~DeclContextOverride()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp1577 Inst->setLexicalDeclContext(Owner); in VisitClassTemplateDecl()
1578 RecordInst->setLexicalDeclContext(Owner); in VisitClassTemplateDecl()
1583 Inst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitClassTemplateDecl()
1584 RecordInst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitClassTemplateDecl()
1666 Inst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitVarTemplateDecl()
1667 VarInst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitVarTemplateDecl()
2011 Function->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
2043 FunctionTemplate->setLexicalDeclContext(LexicalDC); in VisitFunctionDecl()
2381 FunctionTemplate->setLexicalDeclContext(Owner); in VisitCXXMethodDecl()
2384 FunctionTemplate->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitCXXMethodDecl()
[all …]
DSemaLambda.cpp406 Method->setLexicalDeclContext(CurContext); in startLambdaDefinition()
417 TemplateMethod->setLexicalDeclContext(CurContext); in startLambdaDefinition()
1765 CallOperator->setLexicalDeclContext(Class); in BuildLambdaExpr()
1773 TemplateOrNonTemplateCallOperatorDecl->setLexicalDeclContext(Class); in BuildLambdaExpr()
DSemaObjCProperty.cpp218 Res->setLexicalDeclContext(lexicalDC); in ActOnProperty()
640 PDecl->setLexicalDeclContext(lexicalDC); in CreatePropertyDecl()
1075 ImplDecl->setLexicalDeclContext(Impl); in RedeclarePropertyAccessor()
DSemaTemplate.cpp2002 NewClass->setLexicalDeclContext(CurContext); in CheckClassTemplate()
2003 NewTemplate->setLexicalDeclContext(CurContext); in CheckClassTemplate()
3792 Decl->setLexicalDeclContext(ClassTemplate->getLexicalDeclContext()); in CheckTemplateIdType()
4430 Specialization->setLexicalDeclContext(CurContext); in ActOnVarTemplateSpecialization()
8585 Specialization->setLexicalDeclContext(CurContext); in ActOnClassTemplateSpecialization()
9095 Specialization->setLexicalDeclContext(FD->getLexicalDeclContext()); in CheckFunctionTemplateSpecialization()
9721 Specialization->setLexicalDeclContext(CurContext); in ActOnExplicitInstantiation()
DSemaDecl.cpp3191 D->setLexicalDeclContext(LexDC); in adjustDeclContextForDeclaratorDecl()
7110 NewVD->setLexicalDeclContext(CurContext); in ActOnVariableDeclarator()
7112 NewTemplate->setLexicalDeclContext(CurContext); in ActOnVariableDeclarator()
8917 NewFD->setLexicalDeclContext(CurContext); in ActOnFunctionDeclarator()
8993 FunctionTemplate->setLexicalDeclContext(CurContext); in ActOnFunctionDeclarator()
9326 TD->setLexicalDeclContext(TagDC); in ActOnFunctionDeclarator()
15505 New->setLexicalDeclContext(CurContext); in ActOnTag()
16207 New->setLexicalDeclContext(CurContext); in ActOnTag()
17445 ClsFields[i]->setLexicalDeclContext(ID); in ActOnFields()
17458 ClsFields[I]->setLexicalDeclContext(IMPDecl); in ActOnFields()
[all …]
DSemaDeclObjC.cpp2129 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
2167 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
/external/clang/include/clang/AST/
DDeclObjC.h2331 method->setLexicalDeclContext(this); in addInstanceMethod()
2336 method->setLexicalDeclContext(this); in addClassMethod()
DDeclBase.h734 void setLexicalDeclContext(DeclContext *DC);
/external/llvm-project/clang/include/clang/AST/
DDeclObjC.h2452 method->setLexicalDeclContext(this); in addInstanceMethod()
2458 method->setLexicalDeclContext(this); in addClassMethod()
DDeclBase.h860 void setLexicalDeclContext(DeclContext *DC);

12