Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DIdentifierResolver.cpp112 Ctx = Ctx->getRedeclContext(); in isDeclInScope()
147 DeclContext *DCtx = D->getDeclContext()->getRedeclContext(); in isDeclInScope()
364 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
394 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
DSemaDecl.cpp1049 !D->getDeclContext()->getRedeclContext()->Equals( in PushOnScopeChains()
1050 D->getLexicalDeclContext()->getRedeclContext())) in PushOnScopeChains()
1078 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains()
4109 else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()
4497 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()
4545 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration()
4636 const DeclContext *DC = VD->getDeclContext()->getRedeclContext(); in shouldConsiderLinkage()
4647 const DeclContext *DC = FD->getDeclContext()->getRedeclContext(); in shouldConsiderLinkage()
5077 if (DC->getRedeclContext()->isTranslationUnit()) in mayConflictWithNonVisibleExternC()
5568 if (SemaRef.CurContext->getRedeclContext()->isFunctionOrMethod()) { in getFunctionStorageClass()
[all …]
DSemaTemplate.cpp1126 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate()
4999 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()
5883 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization()
5889 D->getDeclContext()->getRedeclContext())) in CheckDependentFunctionTemplateSpecialization()
5928 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckFunctionTemplateSpecialization()
5936 Ovl->getDeclContext()->getRedeclContext())) in CheckFunctionTemplateSpecialization()
6262 DeclContext *CurContext = S.CurContext->getRedeclContext(); in CheckExplicitInstantiationScope()
DSemaCXXScopeSpec.cpp903 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
DSemaLookup.cpp436 if (Decls[UniqueTagIndex]->getDeclContext()->getRedeclContext()->Equals( in resolveKind()
437 Decls[UniqueTagIndex? 0 : N-1]->getDeclContext()->getRedeclContext())) in resolveKind()
1178 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName()
1189 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
DSemaDeclCXX.cpp2118 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl); in ValidateCandidate()
6082 DeclContext::lookup_result R = CurContext->getRedeclContext()->lookup(II); in ActOnStartNamespaceDef()
6106 CurContext->getRedeclContext()->isTranslationUnit()) { in ActOnStartNamespaceDef()
6120 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()
6153 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()
7041 if (!CurContext->getRedeclContext()->isRecord()) in CheckUsingDeclRedeclaration()
9772 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
10864 D->getDeclContext()->getRedeclContext())) in ActOnFriendFunctionDecl()
10953 DC = DC->getRedeclContext(); in ActOnFriendFunctionDecl()
DSemaTemplateInstantiateDecl.cpp518 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()
1066 if (Record->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitCXXRecordDecl()
DSemaDeclObjC.cpp3076 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()
3081 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaCodeComplete.cpp564 R.Declaration->getDeclContext()->getRedeclContext(); in CheckHiddenResult()
570 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext()) in CheckHiddenResult()
719 const DeclContext *DC = ND->getDeclContext()->getRedeclContext(); in getBasePriority()
972 ->getRedeclContext())) in AddResult()
DSemaInit.cpp1545 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record); in ValidateCandidate()
DSemaDeclAttr.cpp1469 const DeclContext *Ctx = D->getDeclContext()->getRedeclContext(); in handleWeakRefAttr()
/external/clang/lib/ARCMigrate/
DTransGCCalls.cpp55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
DTransProtectedScope.cpp35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitDeclRefExpr()
/external/clang/include/clang/AST/
DDeclBase.h1129 DeclContext *getRedeclContext();
1130 const DeclContext *getRedeclContext() const { in getRedeclContext() function
1131 return const_cast<DeclContext *>(this)->getRedeclContext(); in getRedeclContext()
DDecl.h837 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl()
846 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl()
925 if (getDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
/external/clang/lib/AST/
DDecl.cpp481 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
1074 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in getLVForDecl()
1077 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForDecl()
1093 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in getLVForDecl()
2023 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2038 assert(getDeclContext()->getRedeclContext()->isTranslationUnit()); in isReservedGlobalPlacementOperator()
2044 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
DDeclBase.cpp753 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()
754 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent()
1290 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1726 if (!X->getDeclContext()->getRedeclContext()->Equals( in isSameEntity()
1727 Y->getDeclContext()->getRedeclContext())) in isSameEntity()
1789 if (New->getDeclContext()->getRedeclContext()->isTranslationUnit() in ~FindExistingResult()
1808 DeclContext *DC = D->getDeclContext()->getRedeclContext(); in findExisting()
DASTWriterDecl.cpp870 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp5455 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()