Hi,

I build my projects with qbs and gcc. For some legacy reasons, it uses
"-fnothrow-opt". Unfortunately, this option is not known by clang-tidy
and for a few versions clang-tidy does not ignore this option any
longer but exits with an error.

I don't see any chance to fix this in qbs as the qbs product is not
resolved separately for clang-tidy but it uses the gcc build. Is there
any way to filter the compiler options before they are forwarded to
clang-tidy?

I added a simple filter function in clangtoolrunner.cpp but I would
prefer a solution that is external to QtCreator.

Regards, Jochen

-- 
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to