Searched refs:ParentDecl2 (Results 1 – 1 of 1) sorted by relevance
85 const DeclContext *ParentDecl2 = Decl2->getLexicalParent(); in haveSameNamespaceOrTranslationUnit() local91 ParentDecl2->getDeclKind() == Decl::TranslationUnit) { in haveSameNamespaceOrTranslationUnit()92 return ParentDecl1 == ParentDecl2; in haveSameNamespaceOrTranslationUnit()96 assert(ParentDecl2->getDeclKind() == Decl::Namespace && in haveSameNamespaceOrTranslationUnit()99 auto *Ns2 = NamespaceDecl::castFromDeclContext(ParentDecl2); in haveSameNamespaceOrTranslationUnit()