[PATCH] D53953: [clang-tidy] Get ClangTidyContext out of the business of storing diagnostics. NFC

Alexander Kornienko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 31 15:52:30 PDT 2018


alexfh added a comment.

> error: unable to handle compilation, expected exactly one compiler job in '' [clang-diagnostic-error]
>  Suppressed 1 warnings (1 with check filters).
>  Found compiler error(s).

That's preferred to the current behavior, but from a user perspective a more descriptive message would be better (like "can't find file /some/file" or "can't open file /some/file"). I don't know whether it's better to do in clang proper or in clang-tidy, but it can be handled separately from this patch.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D53953





More information about the cfe-commits mailing list