Searched refs:getRedeclContext (Results 1 – 20 of 20) sorted by relevance
114 Ctx = Ctx->getRedeclContext(); in isDeclInScope()144 DeclContext *DCtx = D->getDeclContext()->getRedeclContext(); in isDeclInScope()353 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()383 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
407 DeclContext *DC = ND->getDeclContext()->getRedeclContext(); in getPriorityFromDecl()
1048 !D->getDeclContext()->getRedeclContext()->Equals( in PushOnScopeChains()1049 D->getLexicalDeclContext()->getRedeclContext())) in PushOnScopeChains()1077 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains()3691 else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()4024 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()4072 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration()4952 if (SemaRef.CurContext->getRedeclContext()->isFunctionOrMethod()) { in getFunctionStorageClass()5861 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()8508 if (ND->getDeclContext()->getRedeclContext() != SearchDC) in ActOnTag()8637 Tag->getDeclContext()->getRedeclContext() in ActOnTag()[all …]
430 if (Decls[UniqueTagIndex]->getDeclContext()->getRedeclContext()->Equals( in resolveKind()431 Decls[UniqueTagIndex? 0 : N-1]->getDeclContext()->getRedeclContext())) in resolveKind()1179 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName()1190 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
1125 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate()4989 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()5875 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization()5881 D->getDeclContext()->getRedeclContext())) in CheckDependentFunctionTemplateSpecialization()5920 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckFunctionTemplateSpecialization()5928 Ovl->getDeclContext()->getRedeclContext())) in CheckFunctionTemplateSpecialization()6236 DeclContext *CurContext = S.CurContext->getRedeclContext(); in CheckExplicitInstantiationScope()
908 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
1833 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl); in ValidateCandidate()5366 = CurContext->getRedeclContext()->lookup(II); in ActOnStartNamespaceDef()5401 CurContext->getRedeclContext()->isTranslationUnit()) { in ActOnStartNamespaceDef()5415 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()5454 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()6341 if (!CurContext->getRedeclContext()->isRecord()) in CheckUsingDeclRedeclaration()9189 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()10260 D->getDeclContext()->getRedeclContext())) in ActOnFriendFunctionDecl()10349 DC = DC->getRedeclContext(); in ActOnFriendFunctionDecl()
3016 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()3021 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
455 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()1003 if (Record->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitCXXRecordDecl()
557 DeclContext *HiddenCtx = R.Declaration->getDeclContext()->getRedeclContext(); in CheckHiddenResult()563 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext()) in CheckHiddenResult()918 ->getRedeclContext())) in AddResult()
1449 const DeclContext *Ctx = D->getDeclContext()->getRedeclContext(); in handleWeakRefAttr()
1543 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record); in ValidateCandidate()
55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
1129 DeclContext *getRedeclContext();1130 const DeclContext *getRedeclContext() const { in getRedeclContext() function1131 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
914 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl()923 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl()1002 if (getDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
201 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()765 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in getLVForDecl()768 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForDecl()785 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in getLVForDecl()1712 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()1727 assert(getDeclContext()->getRedeclContext()->isTranslationUnit()); in isReservedGlobalPlacementOperator()1733 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
732 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()733 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent()1227 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
1706 if (!X->getDeclContext()->getRedeclContext()->Equals( in isSameEntity()1707 Y->getDeclContext()->getRedeclContext())) in isSameEntity()1765 DeclContext *DC = New->getDeclContext()->getRedeclContext(); in ~FindExistingResult()1782 DeclContext *DC = D->getDeclContext()->getRedeclContext(); in findExisting()
853 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
5201 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()