Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp131 DeclContext *ReDC = DC->getRedeclContext(); in add()
140 DeclContext *ReDC = DC->getRedeclContext(); in remove()
H A DDecl.cpp606 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
1154 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isReserved()
1323 dyn_cast<NamedDecl>(ContextDecl->getDeclContext()->getRedeclContext()); in getLVForClosure()
1419 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(), in getLVForLocalDecl()
1523 Record->getDeclContext()->getRedeclContext(), in computeLVForDecl()
1541 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in computeLVForDecl()
1877 if (!this->getDeclContext()->getRedeclContext()->Equals( in declarationReplaces()
1878 OldD->getDeclContext()->getRedeclContext())) in declarationReplaces()
3355 (getDeclContext()->getRedeclContext()->isTranslationUnit() || in isMain()
3361 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
[all …]
H A DDeclBase.cpp1317 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()
1318 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent()
1356 if (!getParent()->getRedeclContext()->isTranslationUnit()) in isStdNamespace()
2038 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
H A DQualTypeNames.cpp268 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext(); in createNestedNameSpecifierForScopeOf()
H A DExternalASTMerger.cpp40 return DC->getRedeclContext(); in CanonicalizeDC()
H A DItaniumMangle.cpp702 return D->getLexicalDeclContext()->getRedeclContext(); in getEffectiveDeclContext()
705 return DC->getRedeclContext(); in getEffectiveDeclContext()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp609 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDecl()
627 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUsingDirectiveDecl()
644 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUnresolvedUsingValueDecl()
653 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in VisitUnresolvedUsingTypenameDecl()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp93 const DeclContext *DC = FD->getDeclContext()->getRedeclContext(); in isCLibraryFunction()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp668 !CurContext->getRedeclContext()->isFileContext()) { in ActOnPragmaFloatControl()
903 if (!CurContext->getRedeclContext()->isFileContext()) { in ActOnPragmaMSAllocText()
1259 if (!CurContext->getRedeclContext()->isFileContext()) { in ActOnPragmaMSOptimize()
1269 if (!CurContext->getRedeclContext()->isFileContext()) { in ActOnPragmaMSFunction()
H A DSemaDecl.cpp1559 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains()
3532 !Old->getDeclContext()->getRedeclContext()->Equals( in checkUsingShadowRedecl()
3533 New->getDeclContext()->getRedeclContext()) && in checkUsingShadowRedecl()
3580 auto *NamedDC = NewD->getDeclContext()->getRedeclContext(); in adjustDeclContextForDeclaratorDecl()
3581 auto *SemaDC = OldD->getDeclContext()->getRedeclContext(); in adjustDeclContextForDeclaratorDecl()
5587 DeclContext *OwnerScope = Owner->getRedeclContext(); in BuildAnonymousStructOrUnion()
6424 } else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()
6700 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit()) in RegisterLocallyScopedExternCDecl()
6842 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()
6902 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration()
[all …]
H A DSemaAPINotes.cpp1067 if (DC->getRedeclContext()->isFileContext() || in ProcessAPINotes()
1068 DC->getRedeclContext()->isExternCContext()) { in ProcessAPINotes()
H A DSemaTemplate.cpp1998 PrevClassTemplate->getDeclContext()->getRedeclContext()->Equals( in CheckClassTemplate()
1999 SemanticContext->getRedeclContext()))) { in CheckClassTemplate()
2191 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate()
8222 Ctx = Ctx ? Ctx->getRedeclContext() : nullptr; in CheckTemplateDeclScope()
8325 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()
8335 Specialized->getDeclContext()->getRedeclContext(); in CheckTemplateSpecializationScope()
8336 DeclContext *DC = S.CurContext->getRedeclContext(); in CheckTemplateSpecializationScope()
8890 if (!DC->getRedeclContext()->isFileContext()) { in ActOnStartConceptDefinition()
9244 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization()
9257 D->getDeclContext()->getRedeclContext())) { in CheckDependentFunctionTemplateSpecialization()
[all …]
H A DSemaDeclCXX.cpp886 /*CreateBuiltins*/DC->getRedeclContext()->isTranslationUnit()); in ActOnDecompositionDeclarator()
923 ->getRedeclContext() in ActOnDecompositionDeclarator()
924 ->Equals(DC->getRedeclContext()); in ActOnDecompositionDeclarator()
3672 TD->getDeclContext()->getRedeclContext()->Equals( in ActOnCXXMemberDeclarator()
3673 DG->getDeclContext()->getRedeclContext())) { in ActOnCXXMemberDeclarator()
4307 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl); in ValidateCandidate()
11625 if (!CurContext->getRedeclContext()->Equals( in CheckDeductionGuideDeclarator()
11626 GuidedTemplateDecl->getDeclContext()->getRedeclContext())) { in CheckDeductionGuideDeclarator()
11791 CurContext->getRedeclContext()->isTranslationUnit() && in ActOnStartNamespaceDef()
11810 LookupQualifiedName(R, CurContext->getRedeclContext()); in ActOnStartNamespaceDef()
[all …]
H A DSemaModule.cpp999 DC->getRedeclContext()->isFileContext()) { in checkExportedDecl()
H A DSemaCXXScopeSpec.cpp998 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
H A DSemaLookup.cpp368 return D->getDeclContext()->getRedeclContext(); in getContextForScopeMatching()
1578 DeclContext *RedeclCtx = ED->getDeclContext()->getRedeclContext(); in makeMergedDefinitionVisible()
2279 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName()
2290 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
H A DSemaCodeComplete.cpp850 R.Declaration->getDeclContext()->getRedeclContext(); in CheckHiddenResult()
856 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext()) in CheckHiddenResult()
1013 const DeclContext *DC = ND->getDeclContext()->getRedeclContext(); in getBasePriority()
1399 R.Declaration->getDeclContext()->getRedeclContext())) in AddResult()
H A DSemaDeclObjC.cpp5100 if (isa<ObjCContainerDecl>(SemaRef.CurContext->getRedeclContext())) in CheckObjCDeclScope()
5106 SemaRef.getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h2282 DeclContext *getRedeclContext();
2283 const DeclContext *getRedeclContext() const {
2284 return const_cast<DeclContext *>(this)->getRedeclContext();
H A DDecl.h403 DC = DC->getRedeclContext(); in isCXXClassMember()
1236 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl()
1249 const DeclContext *DC = getLexicalDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl()
1326 if (getLexicalDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp194 DeclContext *redecl_context = decl_context->getRedeclContext(); in OverrideAllDeclsFromContainingFunction()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp1300 if (isa<TranslationUnitDecl>(DC->getRedeclContext())) { in AlwaysHasLTOVisibilityPublic()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3343 DeclContext *DC = New->getDeclContext()->getRedeclContext(); in ~FindExistingResult()
3353 DeclContext *DC = New->getDeclContext()->getRedeclContext(); in ~FindExistingResult()
3474 DeclContext *DC = D->getDeclContext()->getRedeclContext(); in findExisting()
H A DASTWriterDecl.cpp556 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) { in VisitDecl()
1563 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
H A DASTWriter.cpp3396 if (!D->getDeclContext()->getRedeclContext()->isFileContext()) in IsInternalDeclFromFileContext()
3796 if (!Redecl->getDeclContext()->getRedeclContext()->Equals( in getDeclForLocalLookup()
3797 D->getDeclContext()->getRedeclContext())) in getDeclForLocalLookup()

12