Home
last modified time | relevance | path

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

12

/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.cpp1260 !D->getDeclContext()->getRedeclContext()->Equals( in PushOnScopeChains()
1261 D->getLexicalDeclContext()->getRedeclContext()) && in PushOnScopeChains()
1290 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains()
2699 !Old->getDeclContext()->getRedeclContext()->Equals( in checkUsingShadowRedecl()
2700 New->getDeclContext()->getRedeclContext()) && in checkUsingShadowRedecl()
5030 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()
5104 if (!DC->getRedeclContext()->isFileContext()) { in HandleDeclarator()
5276 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl()
5409 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()
5457 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration()
[all …]
DSemaTemplate.cpp1006 PrevClassTemplate->getDeclContext()->getRedeclContext()->Equals( in CheckClassTemplate()
1007 SemanticContext->getRedeclContext()))) { in CheckClassTemplate()
1178 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate()
5928 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()
6822 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization()
6828 D->getDeclContext()->getRedeclContext())) in CheckDependentFunctionTemplateSpecialization()
6871 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckFunctionTemplateSpecialization()
6879 Ovl->getDeclContext()->getRedeclContext())) in CheckFunctionTemplateSpecialization()
7250 DeclContext *CurContext = S.CurContext->getRedeclContext(); in CheckExplicitInstantiationScope()
DSemaCXXScopeSpec.cpp1038 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
DSemaDeclCXX.cpp2834 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl); in ValidateCandidate()
7362 LookupQualifiedName(R, CurContext->getRedeclContext()); in ActOnStartNamespaceDef()
7380 CurContext->getRedeclContext()->isTranslationUnit()) { in ActOnStartNamespaceDef()
7394 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()
7427 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()
8512 if (!CurContext->getRedeclContext()->isRecord()) in CheckUsingDeclRedeclaration()
8571 if (!NamedContext || NamedContext->getRedeclContext()->isRecord()) { in CheckUsingDeclQualifier()
8573 ? cast<CXXRecordDecl>(NamedContext->getRedeclContext()) in CheckUsingDeclQualifier()
11659 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
12867 D->getDeclContext()->getRedeclContext())) in ActOnFriendFunctionDecl()
[all …]
DSemaLookup.cpp358 return D->getDeclContext()->getRedeclContext(); in getContextForScopeMatching()
1761 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName()
1772 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
DSemaCodeComplete.cpp579 R.Declaration->getDeclContext()->getRedeclContext(); in CheckHiddenResult()
585 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext()) in CheckHiddenResult()
743 const DeclContext *DC = ND->getDeclContext()->getRedeclContext(); in getBasePriority()
987 ->getRedeclContext())) in AddResult()
DSemaDeclObjC.cpp4505 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()
4510 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaTemplateInstantiateDecl.cpp733 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()
/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/StaticAnalyzer/Core/
DCheckerContext.cpp68 if (!FD->getDeclContext()->getRedeclContext()->isTranslationUnit()) in isCLibraryFunction()
/external/clang/lib/Index/
DIndexDecl.cpp352 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDecl()
364 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDirectiveDecl()
/external/clang/lib/AST/
DDecl.cpp580 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
1122 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForClosure()
1198 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1305 OuterMostLambda->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1314 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1538 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1539 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
2522 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2530 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
2562 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator()
[all …]
DDeclBase.cpp894 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()
895 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent()
915 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace()
1534 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
DASTImporter.cpp2480 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitNamespaceDecl()
2546 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitTypedefNameDecl()
2662 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitEnumDecl()
2751 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitRecordDecl()
2900 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitEnumConstantDecl()
2955 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitFunctionDecl()
3185 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitFieldDecl()
3249 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitIndirectFieldDecl()
3319 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitObjCIvarDecl()
3377 DC->getRedeclContext()->localUncachedLookup(Name, FoundDecls); in VisitVarDecl()
[all …]
DMicrosoftMangle.cpp97 return DC->getRedeclContext(); in getEffectiveDeclContext()
DItaniumMangle.cpp82 return DC->getRedeclContext(); in getEffectiveDeclContext()
/external/clang/include/clang/AST/
DDeclBase.h1360 DeclContext *getRedeclContext();
1361 const DeclContext *getRedeclContext() const { in getRedeclContext() function
1362 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
DDecl.h322 DC = DC->getRedeclContext(); in isCXXClassMember()
1031 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl()
1045 const DeclContext *DC = getLexicalDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl()
1118 if (getLexicalDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
/external/clang/lib/Tooling/Core/
DQualTypeNames.cpp285 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext(); in createNestedNameSpecifierForScopeOf()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp2640 if (!X->getDeclContext()->getRedeclContext()->Equals( in isSameEntity()
2641 Y->getDeclContext()->getRedeclContext())) in isSameEntity()
2829 DeclContext *DC = New->getDeclContext()->getRedeclContext(); in ~FindExistingResult()
2839 DeclContext *DC = New->getDeclContext()->getRedeclContext(); in ~FindExistingResult()
2928 DeclContext *DC = D->getDeclContext()->getRedeclContext(); in findExisting()
DASTWriterDecl.cpp310 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) { in VisitDecl()
1092 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
DASTWriter.cpp3115 if (!Redecl->getDeclContext()->getRedeclContext()->Equals( in getDeclForLocalLookup()
3116 D->getDeclContext()->getRedeclContext())) in getDeclForLocalLookup()
/external/clang/lib/CodeGen/
DCGVTables.cpp927 if (isa<TranslationUnitDecl>(DC->getRedeclContext())) { in HasHiddenLTOVisibility()

12