Home
last modified time | relevance | path

Searched refs:getRedeclContext (Results 1 – 25 of 25) sorted by relevance

/external/clang/lib/Sema/
DIdentifierResolver.cpp99 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()
DSemaDecl.cpp1220 !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 …]
DSemaTemplate.cpp984 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()
DSemaCXXScopeSpec.cpp1008 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
DSemaDeclCXX.cpp2831 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()
DSemaLookup.cpp355 return D->getDeclContext()->getRedeclContext(); in getContextForScopeMatching()
1675 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName()
1686 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
DSemaCodeComplete.cpp562 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()
DSemaDeclObjC.cpp4356 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()
4361 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaTemplateInstantiateDecl.cpp626 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()
DSemaOverload.cpp8622 if (!VA->getDeclContext()->getRedeclContext()->Equals( in isEquivalentInternalLinkageDeclaration()
8623 VB->getDeclContext()->getRedeclContext()) || in isEquivalentInternalLinkageDeclaration()
DSemaExprCXX.cpp6422 dyn_cast<CXXRecordDecl>(ND->getDeclContext()->getRedeclContext()); in attemptRecovery()
DSemaDeclAttr.cpp1488 const DeclContext *Ctx = D->getDeclContext()->getRedeclContext(); in handleWeakRefAttr()
DSemaInit.cpp1915 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record); in ValidateCandidate()
DSemaExpr.cpp1943 ND->getDeclContext()->getRedeclContext()); in DiagnoseEmptyLookup()
/external/clang/lib/ARCMigrate/
DTransGCCalls.cpp49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
DTransProtectedScope.cpp35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
/external/clang/lib/AST/
DDecl.cpp579 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 …]
DDeclBase.cpp851 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
DASTImporter.cpp2334 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/
DDeclBase.h1341 DeclContext *getRedeclContext();
1342 const DeclContext *getRedeclContext() const { in getRedeclContext() function
1343 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
DDecl.h254 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/
DASTReaderDecl.cpp2548 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()
DASTWriterDecl.cpp306 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) { in VisitDecl()
1067 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
DASTReader.cpp6225 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in CompleteRedeclChain()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp5335 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()