Searched refs:getRedeclContext (Results 1 – 20 of 20) sorted by relevance
112 Ctx = Ctx->getRedeclContext(); in isDeclInScope()147 DeclContext *DCtx = D->getDeclContext()->getRedeclContext(); in isDeclInScope()364 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()394 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
1049 !D->getDeclContext()->getRedeclContext()->Equals( in PushOnScopeChains()1050 D->getLexicalDeclContext()->getRedeclContext())) in PushOnScopeChains()1078 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains()4109 else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()4497 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()4545 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration()4636 const DeclContext *DC = VD->getDeclContext()->getRedeclContext(); in shouldConsiderLinkage()4647 const DeclContext *DC = FD->getDeclContext()->getRedeclContext(); in shouldConsiderLinkage()5077 if (DC->getRedeclContext()->isTranslationUnit()) in mayConflictWithNonVisibleExternC()5568 if (SemaRef.CurContext->getRedeclContext()->isFunctionOrMethod()) { in getFunctionStorageClass()[all …]
1126 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate()4999 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()5883 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization()5889 D->getDeclContext()->getRedeclContext())) in CheckDependentFunctionTemplateSpecialization()5928 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckFunctionTemplateSpecialization()5936 Ovl->getDeclContext()->getRedeclContext())) in CheckFunctionTemplateSpecialization()6262 DeclContext *CurContext = S.CurContext->getRedeclContext(); in CheckExplicitInstantiationScope()
903 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
436 if (Decls[UniqueTagIndex]->getDeclContext()->getRedeclContext()->Equals( in resolveKind()437 Decls[UniqueTagIndex? 0 : N-1]->getDeclContext()->getRedeclContext())) in resolveKind()1178 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName()1189 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
2118 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl); in ValidateCandidate()6082 DeclContext::lookup_result R = CurContext->getRedeclContext()->lookup(II); in ActOnStartNamespaceDef()6106 CurContext->getRedeclContext()->isTranslationUnit()) { in ActOnStartNamespaceDef()6120 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()6153 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()7041 if (!CurContext->getRedeclContext()->isRecord()) in CheckUsingDeclRedeclaration()9772 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()10864 D->getDeclContext()->getRedeclContext())) in ActOnFriendFunctionDecl()10953 DC = DC->getRedeclContext(); in ActOnFriendFunctionDecl()
518 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()1066 if (Record->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitCXXRecordDecl()
3076 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()3081 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
564 R.Declaration->getDeclContext()->getRedeclContext(); in CheckHiddenResult()570 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext()) in CheckHiddenResult()719 const DeclContext *DC = ND->getDeclContext()->getRedeclContext(); in getBasePriority()972 ->getRedeclContext())) in AddResult()
1545 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record); in ValidateCandidate()
1469 const DeclContext *Ctx = D->getDeclContext()->getRedeclContext(); in handleWeakRefAttr()
55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
1129 DeclContext *getRedeclContext();1130 const DeclContext *getRedeclContext() const { in getRedeclContext() function1131 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
837 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl()846 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl()925 if (getDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
481 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()1074 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in getLVForDecl()1077 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForDecl()1093 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in getLVForDecl()2023 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()2038 assert(getDeclContext()->getRedeclContext()->isTranslationUnit()); in isReservedGlobalPlacementOperator()2044 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
753 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()754 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent()1290 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
1726 if (!X->getDeclContext()->getRedeclContext()->Equals( in isSameEntity()1727 Y->getDeclContext()->getRedeclContext())) in isSameEntity()1789 if (New->getDeclContext()->getRedeclContext()->isTranslationUnit() in ~FindExistingResult()1808 DeclContext *DC = D->getDeclContext()->getRedeclContext(); in findExisting()
870 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
5455 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()