Home
last modified time | relevance | path

Searched refs:DiagAnchor (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DODRDiagsEmitter.cpp1814 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() argument
1822 return Diag(DiagAnchor->getLocation(), diag::note_module_odr_violation_enum) in diagnoseMismatch()
1823 << SecondModule << DiagAnchor->getSourceRange() << DiffType; in diagnoseMismatch()