Searched refs:Decl2 (Results 1 – 4 of 4) sorted by relevance
78 explicit module Decl2 { header "decl2.h" }
83 explicit module Decl2 { header "decl2.h" }
104 auto *Decl2 = cast<DeclRefExpr>(E2)->getDecl(); in areExprTypesCompatible() local106 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()108 const DeclContext *DC2 = Decl2->getDeclContext(); in areExprTypesCompatible()778 const DeclRefExpr *Decl2; in checkIncorrectLogicOperator() local781 std::tie(Decl2, BO2, Expr2) = tryNormalizeBinaryOperator(RHS); in checkIncorrectLogicOperator()783 if (!Decl2 || !Expr2) in checkIncorrectLogicOperator()787 if (Decl1->getDecl() != Decl2->getDecl()) in checkIncorrectLogicOperator()
1139 static bool AttributesMatch(const Decl *Decl1, const Decl *Decl2, in AttributesMatch() argument1141 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()1142 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()1147 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()