Hi all,
Currently if the path diagnostic consumer (e.g HTMLDiagnostics and PlistDiagnostics) do not support cross file diagnostics then the path diagnostic report is just silently omitted in the case of cross file diagnostics. If the analyzer finds an issue the missing report looks like a Clang bug as an issue is successfully reported to stdout but no report is generated.
The patch adds a little verbosity to Clang in the case considered above.
PR12421 is devoted to the issue.
Please review!
Tried to write tests that would cover warnings inside the 'for' loop, but failed. Any ideas?
Can/should we be specific about what the user-specified output format is?