Searched refs:Decl2 (Results 1 – 2 of 2) sorted by relevance
1129 static bool AttributesMatch(const Decl *Decl1, const Decl *Decl2, in AttributesMatch() argument1131 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()1132 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()1137 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
135 auto *Decl2 = cast<DeclRefExpr>(E2)->getDecl(); in areExprTypesCompatible() local137 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()139 const DeclContext *DC2 = Decl2->getDeclContext(); in areExprTypesCompatible()1025 const DeclRefExpr *Decl2; in checkIncorrectLogicOperator() local1028 std::tie(Decl2, BO2, Expr2) = tryNormalizeBinaryOperator(RHS); in checkIncorrectLogicOperator()1030 if (!Decl2 || !Expr2) in checkIncorrectLogicOperator()1034 if (Decl1->getDecl() != Decl2->getDecl()) in checkIncorrectLogicOperator()