Searched refs:Decl2 (Results 1 – 5 of 5) sorted by relevance
83 const CXXRecordDecl *Decl2) { in haveSameNamespaceOrTranslationUnit() argument85 const DeclContext *ParentDecl2 = Decl2->getLexicalParent(); in haveSameNamespaceOrTranslationUnit()
78 explicit module Decl2 { header "decl2.h" }
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()1137 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
83 explicit module Decl2 { header "decl2.h" }
158 auto *Decl2 = cast<DeclRefExpr>(E2)->getDecl(); in areExprTypesCompatible() local160 assert(isa<EnumConstantDecl>(Decl1) && isa<EnumConstantDecl>(Decl2)); in areExprTypesCompatible()162 const DeclContext *DC2 = Decl2->getDeclContext(); in areExprTypesCompatible()