Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDIdentifierResolver.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()
HDSemaDecl.cpp1218 !D->getDeclContext()->getRedeclContext()->Equals( in PushOnScopeChains()
1219 D->getLexicalDeclContext()->getRedeclContext()) && in PushOnScopeChains()
1248 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains()
2608 !Old->getDeclContext()->getRedeclContext()->Equals( in checkUsingShadowRedecl()
2609 New->getDeclContext()->getRedeclContext()) && in checkUsingShadowRedecl()
4824 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()
5051 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl()
5183 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()
5231 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration()
5509 const DeclContext *DC = VD->getDeclContext()->getRedeclContext(); in shouldConsiderLinkage()
[all …]
HDSemaTemplate.cpp982 PrevClassTemplate->getDeclContext()->getRedeclContext()->Equals( in CheckClassTemplate()
983 SemanticContext->getRedeclContext()))) { in CheckClassTemplate()
1159 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate()
5846 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()
6755 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization()
6761 D->getDeclContext()->getRedeclContext())) in CheckDependentFunctionTemplateSpecialization()
6800 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckFunctionTemplateSpecialization()
6808 Ovl->getDeclContext()->getRedeclContext())) in CheckFunctionTemplateSpecialization()
7136 DeclContext *CurContext = S.CurContext->getRedeclContext(); in CheckExplicitInstantiationScope()
HDSemaCXXScopeSpec.cpp1005 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
HDSemaDeclCXX.cpp2824 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl); in ValidateCandidate()
7199 DeclContext::lookup_result R = CurContext->getRedeclContext()->lookup(II); in ActOnStartNamespaceDef()
7223 CurContext->getRedeclContext()->isTranslationUnit()) { in ActOnStartNamespaceDef()
7237 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()
7270 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()
8291 if (!CurContext->getRedeclContext()->isRecord()) in CheckUsingDeclRedeclaration()
11478 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
12624 D->getDeclContext()->getRedeclContext())) in ActOnFriendFunctionDecl()
12716 DC = DC->getRedeclContext(); in ActOnFriendFunctionDecl()
HDSemaLookup.cpp354 return D->getDeclContext()->getRedeclContext(); in getContextForScopeMatching()
1526 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName()
1537 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
HDSemaCodeComplete.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()
HDSemaDeclObjC.cpp4309 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()
4314 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
HDSemaTemplateInstantiateDecl.cpp626 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()
HDSemaDeclAttr.cpp1447 const DeclContext *Ctx = D->getDeclContext()->getRedeclContext(); in handleWeakRefAttr()
HDSemaExprCXX.cpp6344 dyn_cast<CXXRecordDecl>(ND->getDeclContext()->getRedeclContext()); in attemptRecovery()
HDSemaInit.cpp1911 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record); in ValidateCandidate()
HDSemaExpr.cpp1965 ND->getDeclContext()->getRedeclContext()); in DiagnoseEmptyLookup()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransGCCalls.cpp49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
HDTransProtectedScope.cpp35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDecl.cpp580 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
1120 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForClosure()
1196 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1271 OuterMostLambda->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1280 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1509 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1510 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
2436 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2444 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
2476 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
[all …]
HDDeclBase.cpp823 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()
824 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent()
844 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace()
1466 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
HDASTImporter.cpp2336 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitNamespaceDecl()
2402 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitTypedefNameDecl()
2485 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitEnumDecl()
2574 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitRecordDecl()
2699 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitEnumConstantDecl()
2754 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitFunctionDecl()
2968 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitFieldDecl()
3027 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitIndirectFieldDecl()
3097 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitObjCIvarDecl()
3155 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitVarDecl()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclBase.h1320 DeclContext *getRedeclContext();
1321 const DeclContext *getRedeclContext() const { in getRedeclContext() function
1322 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
HDDecl.h253 DC = DC->getRedeclContext(); in isCXXClassMember()
955 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl()
969 const DeclContext *DC = getLexicalDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl()
1045 if (getLexicalDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
/NextBSD/contrib/llvm/tools/clang/lib/Serialization/
HDASTReaderDecl.cpp2555 if (!X->getDeclContext()->getRedeclContext()->Equals( in isSameEntity()
2556 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()
HDASTWriterDecl.cpp261 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) { in VisitDecl()
1017 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
HDASTReader.cpp5882 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in CompleteRedeclChain()
/NextBSD/contrib/llvm/tools/lldb/source/Symbol/
HDClangASTImporter.cpp218 DeclContext *redecl_context = decl_context->getRedeclContext(); in OverrideAllDeclsFromContainingFunction()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteModernObjC.cpp5354 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()