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

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp48 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
H A DTransProtectedScope.cpp35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod())
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp92 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext();
101 DeclContext *ReDC = DC->getRedeclContext()->getPrimaryContext();
H A DDecl.cpp630 assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
1199 dyn_cast<NamedDecl>(ContextDecl->getDeclContext()->getRedeclContext());
1289 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(),
1391 Record->getDeclContext()->getRedeclContext(),
1400 if (D->getDeclContext()->getRedeclContext()->isFileContext())
1707 if (!this->getDeclContext()->getRedeclContext()->Equals(
1708 OldD->getDeclContext()->getRedeclContext()))
2915 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2923 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2955 if (!getDeclContext()->getRedeclContext()
[all...]
H A DDeclBase.cpp1094 if (getParent()->getRedeclContext()->isFileContext() &&
1095 getLexicalParent()->getRedeclContext()->isRecord())
1133 if (!getParent()->getRedeclContext()->isTranslationUnit())
1803 DeclContext *DeclContext::getRedeclContext() { function in class:DeclContext
H A DQualTypeNames.cpp269 const DeclContext *DC = Decl->getDeclContext()->getRedeclContext();
H A DExternalASTMerger.cpp40 return DC->getRedeclContext();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DIdentifierResolver.cpp101 Ctx = Ctx->getRedeclContext();
138 DeclContext *DCtx = D->getDeclContext()->getRedeclContext();
335 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
365 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
H A DSemaDecl.cpp1461 !D->getDeclContext()->getRedeclContext()->Equals(
1462 D->getLexicalDeclContext()->getRedeclContext()) &&
1491 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext();
3129 !Old->getDeclContext()->getRedeclContext()->Equals(
3130 New->getDeclContext()->getRedeclContext()) &&
3177 auto *NamedDC = NewD->getDeclContext()->getRedeclContext();
3178 auto *SemaDC = OldD->getDeclContext()->getRedeclContext();
4992 DeclContext *OwnerScope = Owner->getRedeclContext();
5786 } else if (CurContext->getRedeclContext()->isTranslationUnit() &&
6017 ND->getLexicalDeclContext()->getRedeclContext()
[all...]
H A DSemaModule.cpp674 if (DC->getRedeclContext()->isFileContext() && !isa<EnumDecl>(D))
H A DSemaTemplate.cpp1730 PrevClassTemplate->getDeclContext()->getRedeclContext()->Equals(
1731 SemanticContext->getRedeclContext()))) {
1915 DeclContext *DC = SemanticContext->getRedeclContext();
7784 Ctx = Ctx->getRedeclContext();
7881 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) {
7891 Specialized->getDeclContext()->getRedeclContext();
7892 DeclContext *DC = S.CurContext->getRedeclContext();
8448 if (!DC->getRedeclContext()->isFileContext()) {
8729 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
8742 D->getDeclContext()->getRedeclContext())) {
[all...]
H A DSemaCXXScopeSpec.cpp1050 return CurContext->getRedeclContext()->isFileContext();
H A DSemaDeclCXX.cpp838 /*CreateBuiltins*/DC->getRedeclContext()->isTranslationUnit());
3427 TD->getDeclContext()->getRedeclContext()->Equals(
3428 DG->getDeclContext()->getRedeclContext())) {
4061 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl);
10649 if (!CurContext->getRedeclContext()->Equals(
10650 GuidedTemplateDecl->getDeclContext()->getRedeclContext())) {
10826 LookupQualifiedName(R, CurContext->getRedeclContext());
10844 CurContext->getRedeclContext()->isTranslationUnit()) {
10858 DeclContext *Parent = CurContext->getRedeclContext();
10892 DeclContext *Parent = CurContext->getRedeclContext();
[all...]
H A DSemaLookup.cpp361 return D->getDeclContext()->getRedeclContext();
1919 DC = (*I)->getDeclContext()->getRedeclContext();
1930 = (*LastI)->getDeclContext()->getRedeclContext();
H A DSemaCodeComplete.cpp791 R.Declaration->getDeclContext()->getRedeclContext();
797 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext())
954 const DeclContext *DC = ND->getDeclContext()->getRedeclContext();
1271 R.Declaration->getDeclContext()->getRedeclContext()))
H A DSemaDeclObjC.cpp4998 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext()))
5003 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext()))
H A DSemaTemplateInstantiateDecl.cpp1036 Parent->getRedeclContext()->isFunctionOrMethod())
2048 SemaRef.LookupQualifiedName(Previous, DC->getRedeclContext());
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp66 if (!FD->getDeclContext()->getRedeclContext()->isTranslationUnit())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp594 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
605 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
622 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
631 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h1967 /// getRedeclContext - Retrieve the context in which an entity conflicts with
1970 DeclContext *getRedeclContext();
1971 const DeclContext *getRedeclContext() const { function in class:clang::DeclContext
1972 return const_cast<DeclContext *>(this)->getRedeclContext();
H A DDecl.h335 DC = DC->getRedeclContext();
1118 return DC->getRedeclContext()->isFunctionOrMethod();
1131 const DeclContext *DC = getLexicalDeclContext()->getRedeclContext();
1208 if (getLexicalDeclContext()->getRedeclContext()->isFileContext())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3074 if (!declaresSameEntity(cast<Decl>(X->getDeclContext()->getRedeclContext()),
3075 cast<Decl>(Y->getDeclContext()->getRedeclContext())))
3317 DeclContext *DC = New->getDeclContext()->getRedeclContext();
3327 DeclContext *DC = New->getDeclContext()->getRedeclContext();
3442 DeclContext *DC = D->getDeclContext()->getRedeclContext();
H A DASTWriterDecl.cpp324 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) {
1255 D->getParent()->getRedeclContext()->getPrimaryContext());
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp192 DeclContext *redecl_context = decl_context->getRedeclContext();
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGVTables.cpp1266 if (isa<TranslationUnitDecl>(DC->getRedeclContext())) {

Completed in 636 milliseconds

12