reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2937 assert(X->getDeclName() == Y->getDeclName() && "Declaration name mismatch!"); 2939 if (X == Y) 2947 if (!declaresSameEntity(cast<Decl>(X->getDeclContext()->getRedeclContext()), 2953 if (const auto *TypedefX = dyn_cast<TypedefNameDecl>(X)) 2955 return X->getASTContext().hasSameType(TypedefX->getUnderlyingType(), 2959 if (X->getKind() != Y->getKind()) 2963 if (isa<ObjCInterfaceDecl>(X) || isa<ObjCProtocolDecl>(X)) 2963 if (isa<ObjCInterfaceDecl>(X) || isa<ObjCProtocolDecl>(X)) 2966 if (isa<ClassTemplateSpecializationDecl>(X)) { 2973 if (const auto *TagX = dyn_cast<TagDecl>(X)) { 2985 if (const auto *FuncX = dyn_cast<FunctionDecl>(X)) { 2987 if (const auto *CtorX = dyn_cast<CXXConstructorDecl>(X)) { 3038 if (const auto *VarX = dyn_cast<VarDecl>(X)) { 3061 if (const auto *NamespaceX = dyn_cast<NamespaceDecl>(X)) { 3068 if (const auto *TemplateX = dyn_cast<TemplateDecl>(X)) { 3077 if (const auto *FDX = dyn_cast<FieldDecl>(X)) { 3080 return X->getASTContext().hasSameType(FDX->getType(), FDY->getType()); 3084 if (const auto *IFDX = dyn_cast<IndirectFieldDecl>(X)) { 3091 if (isa<EnumConstantDecl>(X)) 3096 if (const auto *USX = dyn_cast<UsingShadowDecl>(X)) { 3103 if (const auto *UX = dyn_cast<UsingDecl>(X)) { 3109 if (const auto *UX = dyn_cast<UnresolvedUsingValueDecl>(X)) { 3114 if (const auto *UX = dyn_cast<UnresolvedUsingTypenameDecl>(X)) 3120 if (const auto *NAX = dyn_cast<NamespaceAliasDecl>(X)) {