[PATCH] D41535: Add -vfsoverlay option for Clang-Tidy

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 22 09:18:16 PST 2017


ilya-biryukov added a comment.

IIUC, you want to pass an overlay so that clang-tidy will read the file opened in the IDE from a different directory?

Could you provide add `-ivfsoverlay` option to your compile command instead?

  $ clang --help | grep vfs
  -ivfsoverlay <value>    Overlay the virtual filesystem described by file over the real file system


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D41535





More information about the cfe-commits mailing list