Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1126 static bool AttributesMatch(const Decl *Decl1, const Decl *Decl2, in AttributesMatch() argument
1128 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1129 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
1134 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTStructuralEquivalence.cpp222 const ValueDecl *Decl2 = DRE2->getDecl(); in IsStmtEquivalent() local
223 if (!Decl1 || !Decl2) in IsStmtEquivalent()
226 const_cast<ValueDecl *>(Decl2)); in IsStmtEquivalent()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp162 auto *Decl2 = cast<DeclRefExpr>(E2)->getDecl(); in areExprTypesCompatible() local
164 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()
166 const DeclContext *DC2 = Decl2->getDeclContext(); in areExprTypesCompatible()