/external/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 99 Ctx = Ctx->getRedeclContext(); in isDeclInScope() 136 DeclContext *DCtx = D->getDeclContext()->getRedeclContext(); in isDeclInScope() 331 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl() 361 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
|
D | SemaDecl.cpp | 1220 !D->getDeclContext()->getRedeclContext()->Equals( in PushOnScopeChains() 1221 D->getLexicalDeclContext()->getRedeclContext()) && in PushOnScopeChains() 1250 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains() 2625 !Old->getDeclContext()->getRedeclContext()->Equals( in checkUsingShadowRedecl() 2626 New->getDeclContext()->getRedeclContext()) && in checkUsingShadowRedecl() 4897 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator() 4971 if (!DC->getRedeclContext()->isFileContext()) { in HandleDeclarator() 5141 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl() 5276 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl() 5324 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration() [all …]
|
D | SemaTemplate.cpp | 984 PrevClassTemplate->getDeclContext()->getRedeclContext()->Equals( in CheckClassTemplate() 985 SemanticContext->getRedeclContext()))) { in CheckClassTemplate() 1161 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate() 5884 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope() 6783 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization() 6789 D->getDeclContext()->getRedeclContext())) in CheckDependentFunctionTemplateSpecialization() 6832 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckFunctionTemplateSpecialization() 6840 Ovl->getDeclContext()->getRedeclContext())) in CheckFunctionTemplateSpecialization() 7174 DeclContext *CurContext = S.CurContext->getRedeclContext(); in CheckExplicitInstantiationScope()
|
D | SemaCXXScopeSpec.cpp | 1008 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
|
D | SemaDeclCXX.cpp | 2831 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl); in ValidateCandidate() 7198 LookupQualifiedName(R, CurContext->getRedeclContext()); in ActOnStartNamespaceDef() 7215 CurContext->getRedeclContext()->isTranslationUnit()) { in ActOnStartNamespaceDef() 7229 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef() 7262 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef() 8287 if (!CurContext->getRedeclContext()->isRecord()) in CheckUsingDeclRedeclaration() 11481 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope() 12627 D->getDeclContext()->getRedeclContext())) in ActOnFriendFunctionDecl() 12734 DC = DC->getRedeclContext(); in ActOnFriendFunctionDecl()
|
D | SemaLookup.cpp | 355 return D->getDeclContext()->getRedeclContext(); in getContextForScopeMatching() 1675 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName() 1686 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
|
D | SemaCodeComplete.cpp | 562 R.Declaration->getDeclContext()->getRedeclContext(); in CheckHiddenResult() 568 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext()) in CheckHiddenResult() 726 const DeclContext *DC = ND->getDeclContext()->getRedeclContext(); in getBasePriority() 970 ->getRedeclContext())) in AddResult()
|
D | SemaDeclObjC.cpp | 4356 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope() 4361 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
|
D | SemaTemplateInstantiateDecl.cpp | 626 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()
|
D | SemaOverload.cpp | 8622 if (!VA->getDeclContext()->getRedeclContext()->Equals( in isEquivalentInternalLinkageDeclaration() 8623 VB->getDeclContext()->getRedeclContext()) || in isEquivalentInternalLinkageDeclaration()
|
D | SemaExprCXX.cpp | 6422 dyn_cast<CXXRecordDecl>(ND->getDeclContext()->getRedeclContext()); in attemptRecovery()
|
D | SemaDeclAttr.cpp | 1488 const DeclContext *Ctx = D->getDeclContext()->getRedeclContext(); in handleWeakRefAttr()
|
D | SemaInit.cpp | 1915 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record); in ValidateCandidate()
|
D | SemaExpr.cpp | 1943 ND->getDeclContext()->getRedeclContext()); in DiagnoseEmptyLookup()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCCalls.cpp | 49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
|
D | TransProtectedScope.cpp | 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 579 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl() 1119 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForClosure() 1195 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl() 1302 OuterMostLambda->getDeclContext()->getRedeclContext(), in computeLVForDecl() 1311 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl() 1538 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces() 1539 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces() 2446 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain() 2454 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint() 2486 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator() [all …]
|
D | DeclBase.cpp | 851 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent() 852 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent() 872 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace() 1490 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
|
D | ASTImporter.cpp | 2334 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitNamespaceDecl() 2400 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitTypedefNameDecl() 2483 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitEnumDecl() 2572 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitRecordDecl() 2697 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitEnumConstantDecl() 2752 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitFunctionDecl() 2966 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitFieldDecl() 3025 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitIndirectFieldDecl() 3095 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitObjCIvarDecl() 3153 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitVarDecl() [all …]
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 1341 DeclContext *getRedeclContext(); 1342 const DeclContext *getRedeclContext() const { in getRedeclContext() function 1343 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
|
D | Decl.h | 254 DC = DC->getRedeclContext(); in isCXXClassMember() 958 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl() 972 const DeclContext *DC = getLexicalDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl() 1048 if (getLexicalDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 2548 if (!X->getDeclContext()->getRedeclContext()->Equals( in isSameEntity() 2549 Y->getDeclContext()->getRedeclContext())) in isSameEntity() 2714 DeclContext *DC = New->getDeclContext()->getRedeclContext(); in ~FindExistingResult() 2724 DeclContext *DC = New->getDeclContext()->getRedeclContext(); in ~FindExistingResult() 2813 DeclContext *DC = D->getDeclContext()->getRedeclContext(); in findExisting()
|
D | ASTWriterDecl.cpp | 306 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) { in VisitDecl() 1067 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
|
D | ASTReader.cpp | 6225 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in CompleteRedeclChain()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 5335 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()
|