Searched refs:CanonDef (Results 1 – 1 of 1) sorted by relevance
8504 DeclContext *CanonDef = D->getDeclContext(); in diagnoseOdrViolations() local8510 if (RI->getLexicalDeclContext() == CanonDef) { in diagnoseOdrViolations()8525 for (auto *CanonMember : CanonDef->decls()) { in diagnoseOdrViolations()8551 getOwningModuleNameForDiagnostic(cast<Decl>(CanonDef)); in diagnoseOdrViolations()8554 << CanonDef << CanonDefModule.empty() << CanonDefModule; in diagnoseOdrViolations()8557 Diag(cast<Decl>(CanonDef)->getLocation(), in diagnoseOdrViolations()8566 DiagnosedOdrMergeFailures.insert(CanonDef); in diagnoseOdrViolations()