[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

  rCTE Clang Tools Extra


More information about the cfe-commits mailing list