/external/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 99 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()
|
D | SemaDecl.cpp | 1260 !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 …]
|
D | SemaTemplate.cpp | 1006 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()
|
D | SemaCXXScopeSpec.cpp | 1038 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
|
D | SemaDeclCXX.cpp | 2834 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 …]
|
D | SemaLookup.cpp | 358 return D->getDeclContext()->getRedeclContext(); in getContextForScopeMatching() 1761 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName() 1772 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
|
D | SemaCodeComplete.cpp | 579 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()
|
D | SemaDeclObjC.cpp | 4505 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope() 4510 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
|
D | SemaTemplateInstantiateDecl.cpp | 733 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()
|
/external/clang/lib/ARCMigrate/ |
D | TransGCCalls.cpp | 49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
|
D | TransProtectedScope.cpp | 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 68 if (!FD->getDeclContext()->getRedeclContext()->isTranslationUnit()) in isCLibraryFunction()
|
/external/clang/lib/Index/ |
D | IndexDecl.cpp | 352 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDecl() 364 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDirectiveDecl()
|
/external/clang/lib/AST/ |
D | Decl.cpp | 580 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 …]
|
D | DeclBase.cpp | 894 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
|
D | ASTImporter.cpp | 2480 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 …]
|
D | MicrosoftMangle.cpp | 97 return DC->getRedeclContext(); in getEffectiveDeclContext()
|
D | ItaniumMangle.cpp | 82 return DC->getRedeclContext(); in getEffectiveDeclContext()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 1360 DeclContext *getRedeclContext(); 1361 const DeclContext *getRedeclContext() const { in getRedeclContext() function 1362 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
|
D | Decl.h | 322 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/ |
D | QualTypeNames.cpp | 285 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext(); in createNestedNameSpecifierForScopeOf()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 2640 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()
|
D | ASTWriterDecl.cpp | 310 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) { in VisitDecl() 1092 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
|
D | ASTWriter.cpp | 3115 if (!Redecl->getDeclContext()->getRedeclContext()->Equals( in getDeclForLocalLookup() 3116 D->getDeclContext()->getRedeclContext())) in getDeclForLocalLookup()
|
/external/clang/lib/CodeGen/ |
D | CGVTables.cpp | 927 if (isa<TranslationUnitDecl>(DC->getRedeclContext())) { in HasHiddenLTOVisibility()
|