Home
last modified time | relevance | path

Searched refs:Decl2 (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DObjCMT.cpp1129 static bool AttributesMatch(const Decl *Decl1, const Decl *Decl2, in AttributesMatch() argument
1131 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1132 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
1137 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DCFG.cpp135 auto *Decl2 = cast<DeclRefExpr>(E2)->getDecl(); in areExprTypesCompatible() local
137 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()
139 const DeclContext *DC2 = Decl2->getDeclContext(); in areExprTypesCompatible()
1025 const DeclRefExpr *Decl2; in checkIncorrectLogicOperator() local
1028 std::tie(Decl2, BO2, Expr2) = tryNormalizeBinaryOperator(RHS); in checkIncorrectLogicOperator()
1030 if (!Decl2 || !Expr2) in checkIncorrectLogicOperator()
1034 if (Decl1->getDecl() != Decl2->getDecl()) in checkIncorrectLogicOperator()