/external/llvm-project/clang/lib/AST/ |
D | ASTImporter.cpp | 2229 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 …]
|
D | DeclBase.cpp | 331 void Decl::setLexicalDeclContext(DeclContext *DC) { in setLexicalDeclContext() function in Decl
|
D | DeclObjC.cpp | 2132 property->setLexicalDeclContext(this); in addPropertyImplementation()
|
/external/clang/lib/AST/ |
D | ASTImporter.cpp | 2451 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 …]
|
D | DeclBase.cpp | 257 void Decl::setLexicalDeclContext(DeclContext *DC) { in setLexicalDeclContext() function in Decl
|
D | DeclObjC.cpp | 2011 property->setLexicalDeclContext(this); in addPropertyImplementation()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 1193 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 …]
|
D | SemaLambda.cpp | 402 Method->setLexicalDeclContext(CurContext); in startLambdaDefinition() 410 TemplateMethod->setLexicalDeclContext(CurContext); in startLambdaDefinition() 1515 CallOperator->setLexicalDeclContext(Class); in BuildLambdaExpr() 1521 TemplateOrNonTemplateCallOperatorDecl->setLexicalDeclContext(Class); in BuildLambdaExpr()
|
D | SemaTemplate.cpp | 1148 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()
|
D | SemaObjCProperty.cpp | 219 Res->setLexicalDeclContext(lexicalDC); in ActOnProperty() 631 PDecl->setLexicalDeclContext(lexicalDC); in CreatePropertyDecl()
|
D | SemaDecl.cpp | 6196 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()
|
D | SemaDeclObjC.cpp | 2032 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars() 2065 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
|
D | SemaDeclAttr.cpp | 6079 NewD->setLexicalDeclContext(CurContext); in DeclApplyPragmaWeak()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | CxxModuleHandler.cpp | 280 result->setLexicalDeclContext( in tryInstantiateStdTemplate()
|
D | ClangASTImporter.cpp | 123 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne() 206 backup.first->setLexicalDeclContext(backup.second.lexical_decl_context); in ~DeclContextOverride()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 1577 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 …]
|
D | SemaLambda.cpp | 406 Method->setLexicalDeclContext(CurContext); in startLambdaDefinition() 417 TemplateMethod->setLexicalDeclContext(CurContext); in startLambdaDefinition() 1765 CallOperator->setLexicalDeclContext(Class); in BuildLambdaExpr() 1773 TemplateOrNonTemplateCallOperatorDecl->setLexicalDeclContext(Class); in BuildLambdaExpr()
|
D | SemaObjCProperty.cpp | 218 Res->setLexicalDeclContext(lexicalDC); in ActOnProperty() 640 PDecl->setLexicalDeclContext(lexicalDC); in CreatePropertyDecl() 1075 ImplDecl->setLexicalDeclContext(Impl); in RedeclarePropertyAccessor()
|
D | SemaTemplate.cpp | 2002 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()
|
D | SemaDecl.cpp | 3191 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 …]
|
D | SemaDeclObjC.cpp | 2129 ivars[i]->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars() 2167 ImplIvar->setLexicalDeclContext(ImpDecl); in CheckImplementationIvars()
|
/external/clang/include/clang/AST/ |
D | DeclObjC.h | 2331 method->setLexicalDeclContext(this); in addInstanceMethod() 2336 method->setLexicalDeclContext(this); in addClassMethod()
|
D | DeclBase.h | 734 void setLexicalDeclContext(DeclContext *DC);
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclObjC.h | 2452 method->setLexicalDeclContext(this); in addInstanceMethod() 2458 method->setLexicalDeclContext(this); in addClassMethod()
|
D | DeclBase.h | 860 void setLexicalDeclContext(DeclContext *DC);
|