Closed noraz31 closed 2 months ago
The implementation is correct, but I whether we went far enough. When is analyzing an empty database desirable? Can we not emit an error with return code 1?
In case of incremental analysis in could be valid providing an empty compilation database. Also, in case of commits where a module is changed, but the analysis of the module itself is skipped.
Very well. I suppose we could emit an error when the input json is technically empty, but not at this point.
Change the log level from info to warning when nothing was analyzed due to eg an empty compilation database. Fixes #4222