Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DIdentifierResolver.cpp114 Ctx = Ctx->getRedeclContext(); in isDeclInScope()
144 DeclContext *DCtx = D->getDeclContext()->getRedeclContext(); in isDeclInScope()
353 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
383 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
DCodeCompleteConsumer.cpp407 DeclContext *DC = ND->getDeclContext()->getRedeclContext(); in getPriorityFromDecl()
DSemaDecl.cpp1048 !D->getDeclContext()->getRedeclContext()->Equals( in PushOnScopeChains()
1049 D->getLexicalDeclContext()->getRedeclContext())) in PushOnScopeChains()
1077 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext(); in PushOnScopeChains()
3691 else if (CurContext->getRedeclContext()->isTranslationUnit() && in HandleDeclarator()
4024 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnTypedefNameDecl()
4072 DeclContext *OuterContext = DC->getRedeclContext(); in isOutOfScopePreviousDeclaration()
4952 if (SemaRef.CurContext->getRedeclContext()->isFunctionOrMethod()) { in getFunctionStorageClass()
5861 NewFD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in ActOnFunctionDeclarator()
8508 if (ND->getDeclContext()->getRedeclContext() != SearchDC) in ActOnTag()
8637 Tag->getDeclContext()->getRedeclContext() in ActOnTag()
[all …]
DSemaLookup.cpp430 if (Decls[UniqueTagIndex]->getDeclContext()->getRedeclContext()->Equals( in resolveKind()
431 Decls[UniqueTagIndex? 0 : N-1]->getDeclContext()->getRedeclContext())) in resolveKind()
1179 DC = (*I)->getDeclContext()->getRedeclContext(); in LookupName()
1190 = (*LastI)->getDeclContext()->getRedeclContext(); in LookupName()
DSemaTemplate.cpp1125 DeclContext *DC = SemanticContext->getRedeclContext(); in CheckClassTemplate()
4989 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) { in CheckTemplateSpecializationScope()
5875 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckDependentFunctionTemplateSpecialization()
5881 D->getDeclContext()->getRedeclContext())) in CheckDependentFunctionTemplateSpecialization()
5920 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext(); in CheckFunctionTemplateSpecialization()
5928 Ovl->getDeclContext()->getRedeclContext())) in CheckFunctionTemplateSpecialization()
6236 DeclContext *CurContext = S.CurContext->getRedeclContext(); in CheckExplicitInstantiationScope()
DSemaCXXScopeSpec.cpp908 return CurContext->getRedeclContext()->isFileContext(); in ShouldEnterDeclaratorScope()
DSemaDeclCXX.cpp1833 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl); in ValidateCandidate()
5366 = CurContext->getRedeclContext()->lookup(II); in ActOnStartNamespaceDef()
5401 CurContext->getRedeclContext()->isTranslationUnit()) { in ActOnStartNamespaceDef()
5415 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()
5454 DeclContext *Parent = CurContext->getRedeclContext(); in ActOnStartNamespaceDef()
6341 if (!CurContext->getRedeclContext()->isRecord()) in CheckUsingDeclRedeclaration()
9189 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
10260 D->getDeclContext()->getRedeclContext())) in ActOnFriendFunctionDecl()
10349 DC = DC->getRedeclContext(); in ActOnFriendFunctionDecl()
DSemaDeclObjC.cpp3016 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext())) in CheckObjCDeclScope()
3021 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext())) in CheckObjCDeclScope()
DSemaTemplateInstantiateDecl.cpp455 Parent->getRedeclContext()->isFunctionOrMethod()) in VisitFieldDecl()
1003 if (Record->getDeclContext()->getRedeclContext()->isFunctionOrMethod()) in VisitCXXRecordDecl()
DSemaCodeComplete.cpp557 DeclContext *HiddenCtx = R.Declaration->getDeclContext()->getRedeclContext(); in CheckHiddenResult()
563 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext()) in CheckHiddenResult()
918 ->getRedeclContext())) in AddResult()
DSemaDeclAttr.cpp1449 const DeclContext *Ctx = D->getDeclContext()->getRedeclContext(); in handleWeakRefAttr()
DSemaInit.cpp1543 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record); in ValidateCandidate()
/external/clang/lib/ARCMigrate/
DTransGCCalls.cpp55 if (!FD->getDeclContext()->getRedeclContext()->isFileContext()) in VisitCallExpr()
/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.h914 return DC->getRedeclContext()->isFunctionOrMethod(); in isLocalVarDecl()
923 const DeclContext *DC = getDeclContext()->getRedeclContext(); in isFunctionOrMethodVarDecl()
1002 if (getDeclContext()->getRedeclContext()->isFileContext()) in isFileVarDecl()
/external/clang/lib/AST/
DDecl.cpp201 assert(D->getDeclContext()->getRedeclContext()->isFileContext() && in getLVForNamespaceScopeDecl()
765 const DeclContext *DC = D->getDeclContext()->getRedeclContext(); in getLVForDecl()
768 DC = ContextDecl->getDeclContext()->getRedeclContext(); in getLVForDecl()
785 if (D->getDeclContext()->getRedeclContext()->isFileContext()) in getLVForDecl()
1712 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
1727 assert(getDeclContext()->getRedeclContext()->isTranslationUnit()); in isReservedGlobalPlacementOperator()
1733 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
DDeclBase.cpp732 if (getParent()->getRedeclContext()->isFileContext() && in getLookupParent()
733 getLexicalParent()->getRedeclContext()->isRecord()) in getLookupParent()
1227 DeclContext *DeclContext::getRedeclContext() { in getRedeclContext() function in DeclContext
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1706 if (!X->getDeclContext()->getRedeclContext()->Equals( in isSameEntity()
1707 Y->getDeclContext()->getRedeclContext())) in isSameEntity()
1765 DeclContext *DC = New->getDeclContext()->getRedeclContext(); in ~FindExistingResult()
1782 DeclContext *DC = D->getDeclContext()->getRedeclContext(); in findExisting()
DASTWriterDecl.cpp853 D->getParent()->getRedeclContext()->getPrimaryContext()); in VisitNamespaceDecl()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp5201 block->getDeclContext()->getRedeclContext()->isFileContext(); in SynthBlockInitExpr()