Searched refs:Decl1 (Results 1 – 3 of 3) sorted by relevance
82 static bool haveSameNamespaceOrTranslationUnit(const CXXRecordDecl *Decl1, in haveSameNamespaceOrTranslationUnit() argument84 const DeclContext *ParentDecl1 = Decl1->getLexicalParent(); in haveSameNamespaceOrTranslationUnit()
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()
157 auto *Decl1 = cast<DeclRefExpr>(E1)->getDecl(); in areExprTypesCompatible() local160 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()161 const DeclContext *DC1 = Decl1->getDeclContext(); in areExprTypesCompatible()