ilya-biryukov added a comment.

In https://reviews.llvm.org/D41535#983435, @vladimir.plyashkun wrote:

> IIUC, it will be little bit difficult to test it, because whole logic placed 
> in the `ClangTidyMain`. 
>  All existing clang-tidy unit tests use direct calls of `ToolInvocation` 
> which is doesn't know about `vfsoverlay` options.


We could test it with a lit test that runs `clang-tidy` directly and checks 
output using `FileCheck`. See `clang-tools-extra/test/clang-tidy` for 
clang-tidy tests using lit and `clang/test/VFS` for lit tests of vfs overlays 
in clang.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D41535



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to