Searched refs:DiagAnchor (Results 1 – 1 of 1) sorted by relevance
1814 auto DiagError = [FirstEnum, &FirstModule, this](const auto *DiagAnchor, in diagnoseMismatch()1816 return Diag(DiagAnchor->getLocation(), diag::err_module_odr_violation_enum) in diagnoseMismatch()1818 << DiagAnchor->getSourceRange() << DiffType; in diagnoseMismatch()1820 auto DiagNote = [&SecondModule, this](const auto *DiagAnchor, in diagnoseMismatch() argument1822 return Diag(DiagAnchor->getLocation(), diag::note_module_odr_violation_enum) in diagnoseMismatch()1823 << SecondModule << DiagAnchor->getSourceRange() << DiffType; in diagnoseMismatch()