Searched refs:Decl1 (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()1136 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch()
134 auto *Decl1 = cast<DeclRefExpr>(E1)->getDecl(); in areExprTypesCompatible() local137 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()138 const DeclContext *DC1 = Decl1->getDeclContext(); in areExprTypesCompatible()1017 const DeclRefExpr *Decl1; in checkIncorrectLogicOperator() local1020 std::tie(Decl1, BO1, Expr1) = tryNormalizeBinaryOperator(LHS); in checkIncorrectLogicOperator()1022 if (!Decl1 || !Expr1) in checkIncorrectLogicOperator()1034 if (Decl1->getDecl() != Decl2->getDecl()) in checkIncorrectLogicOperator()