Searched refs:Decl1 (Results 1 – 3 of 3) sorted by relevance
1126 static bool AttributesMatch(const Decl *Decl1, const Decl *Decl2, in AttributesMatch() argument1128 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()1129 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()1133 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch()
221 const ValueDecl *Decl1 = DRE1->getDecl(); in IsStmtEquivalent() local223 if (!Decl1 || !Decl2) in IsStmtEquivalent()225 return IsStructurallyEquivalent(Context, const_cast<ValueDecl *>(Decl1), in IsStmtEquivalent()
161 auto *Decl1 = cast<DeclRefExpr>(E1)->getDecl(); in areExprTypesCompatible() local164 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()165 const DeclContext *DC1 = Decl1->getDeclContext(); in areExprTypesCompatible()