Searched refs:Decl2 (Results 1 – 2 of 2) sorted by relevance
224 const ValueDecl *Decl2 = DRE2->getDecl(); in IsStmtEquivalent() local225 if (!Decl1 || !Decl2) in IsStmtEquivalent()228 const_cast<ValueDecl *>(Decl2)); in IsStmtEquivalent()
161 auto *Decl2 = cast<DeclRefExpr>(E2)->getDecl(); in areExprTypesCompatible() local163 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()165 const DeclContext *DC2 = Decl2->getDeclContext(); in areExprTypesCompatible()