[Sema] Improve redefinition errors pointing to the same headerDiagnostics related to redefinition errors that point to the same headerfile do not provide much information that helps users fixing t
[Sema] Improve redefinition errors pointing to the same headerDiagnostics related to redefinition errors that point to the same headerfile do not provide much information that helps users fixing the issue.- In the modules context, it usually happens because of non modularincludes.- When modules aren't involved it might happen because of the lack ofheader guards.Enhance diagnostics in these scenarios.Differential Revision: https://reviews.llvm.org/D28832rdar://problem/31669175llvm-svn: 302765
show more ...