/external/llvm-project/clang/lib/Sema/ |
D | IdentifierResolver.cpp | 101 Ctx = Ctx->getRedeclContext(); in isDeclInScope() 138 DeclContext *DCtx = D->getDeclContext()->getRedeclContext(); in isDeclInScope() 335 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl() 365 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
|
D | SemaDecl.cpp | 1509 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains() 3129 !Old->getDeclContext()->getRedeclContext()->Equals( in checkUsingShadowRedecl() 3130 New->getDeclContext()->getRedeclContext()) && in checkUsingShadowRedecl() 3177 auto *NamedDC = NewD->getDeclContext()->getRedeclContext(); in adjustDeclContextForDeclaratorDecl() 3178 auto *SemaDC = OldD->getDeclContext()->getRedeclContext(); in adjustDeclContextForDeclaratorDecl() 4995 DeclContext *OwnerScope = Owner->getRedeclContext(); in BuildAnonymousStructOrUnion() 5789 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator() 6058 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl() 6202 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl() 6250 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration() [all …]
|
D | SemaTemplate.cpp | 1847 PrevClassTemplate->getDeclContext()->getRedeclContext()->Equals( in CheckClassTemplate() 1848 SemanticContext->getRedeclContext()))) { in CheckClassTemplate() 2032 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate() 7951 Ctx = Ctx ? Ctx->getRedeclContext() : nullptr; in CheckTemplateDeclScope() 8054 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope() 8064 Specialized->getDeclContext()->getRedeclContext(); in CheckTemplateSpecializationScope() 8065 DeclContext *DC = S.CurContext->getRedeclContext(); in CheckTemplateSpecializationScope() 8625 if (!DC->getRedeclContext()->isFileContext()) { in ActOnConceptDefinition() 8909 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization() 8922 D->getDeclContext()->getRedeclContext())) { in CheckDependentFunctionTemplateSpecialization() [all …]
|
/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 …]
|
/external/llvm-project/clang/lib/AST/ |
D | ASTImporterLookupTable.cpp | 106 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext(); in add() 115 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext(); in remove()
|
D | Decl.cpp | 630 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl() 1199 dyn_cast<NamedDecl>(ContextDecl->getDeclContext()->getRedeclContext()); in getLVForClosure() 1289 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl() 1392 Record->getDeclContext()->getRedeclContext(), in computeLVForDecl() 1410 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl() 1733 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces() 1734 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces() 3004 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain() 3012 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint() 3044 if (!getDeclContext()->getRedeclContext()->isTranslationUnit()) in isReservedGlobalPlacementOperator() [all …]
|
D | DeclBase.cpp | 1095 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent() 1096 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent() 1134 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace() 1804 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
|
D | QualTypeNames.cpp | 269 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext(); in createNestedNameSpecifierForScopeOf()
|
D | ExternalASTMerger.cpp | 40 return DC->getRedeclContext(); in CanonicalizeDC()
|
/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransGCCalls.cpp | 48 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
|
D | TransProtectedScope.cpp | 35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
|
/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/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | CheckerContext.cpp | 66 if (!FD->getDeclContext()->getRedeclContext()->isTranslationUnit()) in isCLibraryFunction()
|
/external/llvm-project/clang/lib/Index/ |
D | IndexDecl.cpp | 594 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDecl() 605 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDirectiveDecl() 622 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUnresolvedUsingValueDecl() 631 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUnresolvedUsingTypenameDecl()
|
/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 …]
|
/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/llvm-project/clang/include/clang/AST/ |
D | DeclBase.h | 1969 DeclContext *getRedeclContext(); 1970 const DeclContext *getRedeclContext() const { in getRedeclContext() function 1971 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
|
/external/clang/lib/Tooling/Core/ |
D | QualTypeNames.cpp | 285 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext(); in createNestedNameSpecifierForScopeOf()
|