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

/external/clang/lib/ARCMigrate/
H A DTransGCCalls.cpp49 if (!FD->getDeclContext()->getRedeclContext()->isFileContext())
H A DTransProtectedScope.cpp35 if (D->getDeclContext()->getRedeclContext()->isFunctionOrMethod())
/external/clang/lib/Sema/
H A DIdentifierResolver.cpp99 Ctx = Ctx->getRedeclContext();
133 DeclContext *DCtx = D->getDeclContext()->getRedeclContext();
323 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
353 if (!(*I)->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
H A DSemaDecl.cpp1155 !D->getDeclContext()->getRedeclContext()->Equals(
1156 D->getLexicalDeclContext()->getRedeclContext()) &&
1185 DeclContext *IDC = (*I)->getLexicalDeclContext()->getRedeclContext();
2414 !Old->getDeclContext()->getRedeclContext()->Equals(
2415 New->getDeclContext()->getRedeclContext()) &&
4476 } else if (CurContext->getRedeclContext()->isTranslationUnit() &&
4701 ND->getLexicalDeclContext()->getRedeclContext()->isTranslationUnit())
4847 NewTD->getDeclContext()->getRedeclContext()->isTranslationUnit()) {
4895 DeclContext *OuterContext = DC->getRedeclContext();
5131 const DeclContext *DC = VD->getDeclContext()->getRedeclContext();
[all...]
H A DSemaCXXScopeSpec.cpp943 return CurContext->getRedeclContext()->isFileContext();
H A DSemaTemplate.cpp1119 DeclContext *DC = SemanticContext->getRedeclContext();
5683 if (S.CurContext->getRedeclContext()->isFunctionOrMethod()) {
6583 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
6589 D->getDeclContext()->getRedeclContext()))
6628 DeclContext *FDLookupContext = FD->getDeclContext()->getRedeclContext();
6636 Ovl->getDeclContext()->getRedeclContext()))
6964 DeclContext *CurContext = S.CurContext->getRedeclContext();
H A DSemaLookup.cpp350 return D->getDeclContext()->getRedeclContext();
1378 DC = (*I)->getDeclContext()->getRedeclContext();
1389 = (*LastI)->getDeclContext()->getRedeclContext();
H A DSemaCodeComplete.cpp563 R.Declaration->getDeclContext()->getRedeclContext();
569 if (HiddenCtx == Hiding->getDeclContext()->getRedeclContext())
727 const DeclContext *DC = ND->getDeclContext()->getRedeclContext();
971 ->getRedeclContext()))
H A DSemaDeclCXX.cpp2558 return Member->getDeclContext()->getRedeclContext()->Equals(ClassDecl);
6730 DeclContext::lookup_result R = CurContext->getRedeclContext()->lookup(II);
6754 CurContext->getRedeclContext()->isTranslationUnit()) {
6768 DeclContext *Parent = CurContext->getRedeclContext();
6801 DeclContext *Parent = CurContext->getRedeclContext();
7814 if (!CurContext->getRedeclContext()->isRecord())
10837 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext();
11984 D->getDeclContext()->getRedeclContext()))
12076 DC = DC->getRedeclContext();
H A DSemaDeclObjC.cpp3268 if (isa<ObjCContainerDecl>(CurContext->getRedeclContext()))
3273 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext()))
H A DSemaTemplateInstantiateDecl.cpp510 Parent->getRedeclContext()->isFunctionOrMethod())
H A DSemaDeclAttr.cpp1330 const DeclContext *Ctx = D->getDeclContext()->getRedeclContext();
H A DSemaInit.cpp1769 return FD && FD->getDeclContext()->getRedeclContext()->Equals(Record);
H A DSemaExpr.cpp1893 ND->getDeclContext()->getRedeclContext());
/external/clang/lib/AST/
H A DDecl.cpp568 assert(D->getDeclContext()->getRedeclContext()->isFileContext() &&
1090 DC = ContextDecl->getDeclContext()->getRedeclContext();
1166 LV = getLVForClosure(BD->getDeclContext()->getRedeclContext(),
1241 OuterMostLambda->getDeclContext()->getRedeclContext(),
1250 if (D->getDeclContext()->getRedeclContext()->isFileContext())
1490 this->getDeclContext()->getRedeclContext()->Equals(
1491 OldD->getDeclContext()->getRedeclContext());
2342 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2350 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2382 if (!getDeclContext()->getRedeclContext()
[all...]
H A DDeclBase.cpp790 if (getParent()->getRedeclContext()->isFileContext() &&
791 getLexicalParent()->getRedeclContext()->isRecord())
811 if (!getParent()->getRedeclContext()->isTranslationUnit())
1417 DeclContext *DeclContext::getRedeclContext() { function in class:DeclContext
/external/clang/include/clang/AST/
H A DDeclBase.h1223 /// getRedeclContext - Retrieve the context in which an entity conflicts with
1226 DeclContext *getRedeclContext();
1227 const DeclContext *getRedeclContext() const { function in class:clang::DeclContext
1228 return const_cast<DeclContext *>(this)->getRedeclContext();
H A DDecl.h207 DC = DC->getRedeclContext();
890 return DC->getRedeclContext()->isFunctionOrMethod();
899 const DeclContext *DC = getLexicalDeclContext()->getRedeclContext();
975 if (getLexicalDeclContext()->getRedeclContext()->isFileContext())
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp2280 if (!X->getDeclContext()->getRedeclContext()->Equals(
2281 Y->getDeclContext()->getRedeclContext()))
2390 DeclContext *DC = New->getDeclContext()->getRedeclContext();
2412 DeclContext *DC = D->getDeclContext()->getRedeclContext();
H A DASTWriterDecl.cpp188 while (auto *NS = dyn_cast<NamespaceDecl>(DC->getRedeclContext())) {
924 D->getParent()->getRedeclContext()->getPrimaryContext());
H A DASTReader.cpp5971 const DeclContext *DC = D->getDeclContext()->getRedeclContext();
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp5387 block->getDeclContext()->getRedeclContext()->isFileContext();

Completed in 1984 milliseconds