[cfe-dev] clang-tidy -- using custom path config file
Oza, Hiral via cfe-dev
cfe-dev at lists.llvm.org
Sat Oct 10 02:28:36 PDT 2020
Greetings!
Does clang-tidy accepts config (i.e. .clang-tidy) file from custom path?
I am planning to use to have ".clang-tidy" maintained as "/some/path/to/my-tidy-config" and
need to pass "/some/path/to/my-tidy-config" to clang-tidy.
Tried :::
$ clang-tidy --config=/some/path/to/my-tidy-config
YAML:1:1: error: not a mapping
/some/path/to/my-tidy-config
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: invalid configuration specified.
Invalid argument
Any suggestion? Or existing patch?
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20201010/07782baa/attachment.html>
More information about the cfe-dev
mailing list