/external/clang/tools/libclang/ |
D | IndexDecl.cpp | 207 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext()) in VisitObjCPropertyDecl() 210 if (MD->getLexicalDeclContext() == D->getLexicalDeclContext()) in VisitObjCPropertyDecl() 234 D->getLexicalDeclContext()); in VisitObjCPropertyImplDecl() 239 D->getLexicalDeclContext()); in VisitObjCPropertyImplDecl() 258 D, D->getLexicalDeclContext()); in VisitUsingDecl() 269 D->getLocation(), D, D->getLexicalDeclContext()); in VisitUsingDirectiveDecl()
|
D | IndexTypeSourceInfo.cpp | 112 DC = Parent->getLexicalDeclContext(); in indexTypeLoc() 126 DC = Parent->getLexicalDeclContext(); in indexNestedNameSpecifierLoc()
|
D | IndexBody.cpp | 169 DC = Parent->getLexicalDeclContext(); in indexBody()
|
D | CIndex.cpp | 269 for (DeclContext *DeclDC = D->getLexicalDeclContext(); in isInLexicalContext() 352 DeclContext *DC = DIt == Decls.begin() ? (*DIt)->getLexicalDeclContext() in visitDeclsFromFileRegion() 353 : (*(DIt-1))->getLexicalDeclContext(); in visitDeclsFromFileRegion() 366 DC = D->getLexicalDeclContext(); in visitDeclsFromFileRegion() 598 if (D->getLexicalDeclContext() != DC) in VisitDeclContext() 975 if (!subDecl || subDecl->getLexicalDeclContext() != D || in VisitObjCContainerDecl() 1052 if (MD->isPropertyAccessor() && MD->getLexicalDeclContext() == CDecl) in VisitObjCPropertyDecl() 1057 if (MD->isPropertyAccessor() && MD->getLexicalDeclContext() == CDecl) in VisitObjCPropertyDecl() 5876 const DeclContext *DC = D->getLexicalDeclContext(); in clang_getCursorLexicalParent()
|
D | IndexingContext.cpp | 324 LexicalDC = D->getLexicalDeclContext(); in handleDecl()
|
/external/clang/lib/Frontend/ |
D | ASTConsumers.cpp | 293 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() 323 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() 339 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext() 355 const DeclContext* LexicalDC = D->getLexicalDeclContext(); in PrintDeclContext()
|
D | ASTUnit.cpp | 2636 if (!D->getLexicalDeclContext()->isFileContext()) in addFileLevelDecl()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 637 DeclContext *getLexicalDeclContext() { in getLexicalDeclContext() function 642 const DeclContext *getLexicalDeclContext() const { in getLexicalDeclContext() function 643 return const_cast<Decl*>(this)->getLexicalDeclContext(); in getLexicalDeclContext() 647 return getLexicalDeclContext() != getDeclContext(); in isOutOfLine() 1008 return cast<Decl>(this)->getLexicalDeclContext(); in getLexicalParent()
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 213 if (DC == getLexicalDeclContext()) in setLexicalDeclContext() 1047 assert(D->getLexicalDeclContext() == this && in removeDecl() 1090 assert(D->getLexicalDeclContext() == this && in addHiddenDecl() 1360 ((!Recoverable || D->getDeclContext() != D->getLexicalDeclContext()) && in makeDeclVisibleInContextWithFlags()
|
D | ASTImporter.cpp | 1806 if (D->getDeclContext() != D->getLexicalDeclContext()) { in ImportDeclParts() 1807 LexicalDC = Importer.ImportContext(D->getLexicalDeclContext()); in ImportDeclParts() 3609 if (D->getDeclContext() != D->getLexicalDeclContext()) { in VisitObjCCategoryImplDecl() 3610 LexicalDC = Importer.ImportContext(D->getLexicalDeclContext()); in VisitObjCCategoryImplDecl() 3654 if (D->getDeclContext() != D->getLexicalDeclContext()) { in VisitObjCImplementationDecl() 3656 = Importer.ImportContext(D->getLexicalDeclContext()); in VisitObjCImplementationDecl() 3777 if (D->getDeclContext() != D->getLexicalDeclContext()) { in VisitObjCPropertyImplDecl() 3778 LexicalDC = Importer.ImportContext(D->getLexicalDeclContext()); in VisitObjCPropertyImplDecl() 4043 if (D->getDeclContext() != D->getLexicalDeclContext()) { in VisitClassTemplateSpecializationDecl() 4044 LexicalDC = Importer.ImportContext(D->getLexicalDeclContext()); in VisitClassTemplateSpecializationDecl()
|
D | Decl.cpp | 1692 if (RD->getLexicalDeclContext()->isFileContext()) in getOutOfLineDefinition() 2241 if (!Redecl->getLexicalDeclContext()->isTranslationUnit()) in RedeclForcesDefC99()
|
D | ASTDumper.cpp | 663 if (D->getLexicalDeclContext() != D->getDeclContext()) in dumpDecl()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 356 Var->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitVarDecl() 386 D->getLexicalDeclContext()->addDecl(Var); in VisitVarDecl() 932 Inst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitClassTemplateDecl() 933 RecordInst->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitClassTemplateDecl() 1566 FunctionTemplate->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitCXXMethodDecl() 1594 Method->setLexicalDeclContext(D->getLexicalDeclContext()); in VisitCXXMethodDecl() 3514 DC = FD->getLexicalDeclContext(); in FindInstantiatedDecl() 3595 EnumDecl *Enum = cast<EnumDecl>(ED->getLexicalDeclContext()); in FindInstantiatedDecl()
|
D | SemaAccess.cpp | 114 DC = Function->getLexicalDeclContext(); in EffectiveContext() 1885 = dyn_cast<ObjCImplDecl>(FD->getLexicalDeclContext())) { in IsSimplyAccessible()
|
D | SemaDecl.cpp | 1050 D->getLexicalDeclContext()->getRedeclContext())) in PushOnScopeChains() 1078 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains() 1210 D->getLexicalDeclContext()->isDependentContext()) in ShouldWarnIfUnusedFileScopedDecl() 2467 if (!isFriend && NewMethod->getLexicalDeclContext()->isRecord() && in MergeFunctionDecl() 2923 !(Old->getLexicalDeclContext()->isRecord() && in MergeVarDecl() 2924 !New->getLexicalDeclContext()->isRecord())) { in MergeVarDecl() 4326 assert(ND->getLexicalDeclContext()->isFunctionOrMethod() && in RegisterLocallyScopedExternCDecl() 7456 VDecl->getLexicalDeclContext()->isRecord()) { in AddInitializerToDecl() 8592 if (D->getLexicalDeclContext() == Context.getTranslationUnitDecl()) { in ActOnStartOfFunctionDef() 8630 !(LangOpts.MicrosoftExt && FD->getLexicalDeclContext()->isRecord())) { in ActOnStartOfFunctionDef()
|
D | SemaTemplateInstantiate.cpp | 130 (!Pattern || !Pattern->getLexicalDeclContext()->isFileContext())) { in getTemplateInstantiationArgs() 131 Ctx = Function->getLexicalDeclContext(); in getTemplateInstantiationArgs()
|
D | SemaLookup.cpp | 2698 DeclContext *LexDC = D->getLexicalDeclContext(); in ArgumentDependentLookup()
|
D | SemaTemplateDeduction.cpp | 2705 Owner = FunctionTemplate->getLexicalDeclContext(); in FinishTemplateArgumentDeduction()
|
D | SemaTemplate.cpp | 2102 Decl->setLexicalDeclContext(ClassTemplate->getLexicalDeclContext()); in CheckTemplateIdType()
|
D | SemaDeclCXX.cpp | 10944 assert(ND->getLexicalDeclContext() == CurContext); in ActOnFriendFunctionDecl()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 151 Writer.AddDeclRef(cast_or_null<Decl>(D->getLexicalDeclContext()), Record); in VisitDecl()
|
D | ASTReaderDecl.cpp | 1793 DeclContext *DC = New->getLexicalDeclContext(); in ~FindExistingResult()
|
D | ASTWriter.cpp | 4294 if (!D->getLexicalDeclContext()->isFileContext()) in associateDeclWithFile()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1319 if (isa<CXXRecordDecl>(FD->getLexicalDeclContext())) { in GetOrCreateLLVMFunction()
|
/external/clang/docs/ |
D | InternalsManual.rst | 1125 ``Decl::getLexicalDeclContext`` while the semantic context is accessible via
|