Home
last modified time | relevance | path

Searched refs:CtxD (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/AST/
DDeclObjC.cpp847 Decl *CtxD = cast<Decl>(getDeclContext()); in getNextRedeclarationImpl() local
849 if (!CtxD->isInvalidDecl()) { in getNextRedeclarationImpl()
850 if (ObjCInterfaceDecl *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) { in getNextRedeclarationImpl()
855 } else if (ObjCCategoryDecl *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) { in getNextRedeclarationImpl()
861 dyn_cast<ObjCImplementationDecl>(CtxD)) { in getNextRedeclarationImpl()
867 dyn_cast<ObjCCategoryImplDecl>(CtxD)) { in getNextRedeclarationImpl()
876 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
884 Decl *CtxD = cast<Decl>(getDeclContext()); in getCanonicalDecl() local
886 if (ObjCImplementationDecl *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getCanonicalDecl()
893 dyn_cast<ObjCCategoryImplDecl>(CtxD)) { in getCanonicalDecl()
[all …]
/external/llvm-project/clang/lib/AST/
DDeclObjC.cpp919 auto *CtxD = cast<Decl>(getDeclContext()); in getNextRedeclarationImpl() local
921 if (!CtxD->isInvalidDecl()) { in getNextRedeclarationImpl()
922 if (auto *IFD = dyn_cast<ObjCInterfaceDecl>(CtxD)) { in getNextRedeclarationImpl()
927 } else if (auto *CD = dyn_cast<ObjCCategoryDecl>(CtxD)) { in getNextRedeclarationImpl()
932 } else if (auto *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getNextRedeclarationImpl()
937 } else if (auto *CImplD = dyn_cast<ObjCCategoryImplDecl>(CtxD)) { in getNextRedeclarationImpl()
952 return cast<ObjCContainerDecl>(CtxD)->getMethod(getSelector(), in getNextRedeclarationImpl()
961 auto *CtxD = cast<Decl>(getDeclContext()); in getCanonicalDecl() local
964 if (auto *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getCanonicalDecl()
978 } else if (auto *CImplD = dyn_cast<ObjCCategoryImplDecl>(CtxD)) { in getCanonicalDecl()
[all …]