As is known, clang can select another toolchain through:
clang --gcc-toolchain=/opt/gcc-7.3.0 -v
clang++ --gcc-toolchain=/opt/gcc-7.3.0 ¨Cv
Is there an equivalent option for clang-tidy?
Thanks.
As is known, clang can select another toolchain through:
clang --gcc-toolchain=/opt/gcc-7.3.0 -v
clang++ --gcc-toolchain=/opt/gcc-7.3.0 ¨Cv
Is there an equivalent option for clang-tidy?
Thanks.
I dont think so. What do you want to achieve? Clang-tidy will just build the AST from Code and do its analysis on it. I do not see a reason for a different toolchain.