Searched refs:CanonDef (Results 1 – 1 of 1) sorted by relevance
8448 DeclContext *CanonDef = D->getDeclContext(); in diagnoseOdrViolations() local8454 if (RI->getLexicalDeclContext() == CanonDef) { in diagnoseOdrViolations()8469 for (auto *CanonMember : CanonDef->decls()) { in diagnoseOdrViolations()8495 getOwningModuleNameForDiagnostic(cast<Decl>(CanonDef)); in diagnoseOdrViolations()8498 << CanonDef << CanonDefModule.empty() << CanonDefModule; in diagnoseOdrViolations()8501 Diag(cast<Decl>(CanonDef)->getLocation(), in diagnoseOdrViolations()8510 DiagnosedOdrMergeFailures.insert(CanonDef); in diagnoseOdrViolations()