Important: Please read the Qt Code of Conduct -

How to have clang_tidy ignore 3rd party macros?

  • I try out the clang_tidy integration for Qt Creator, and receive hundreds of warnings for 3rd party macros, specifically Googletest stuff.

    As far as I can see in the settings, I could only turn off the whole cppcoreguidelines tree of warnings.
    How could I exclude checking 3rd party macros, or (if that's not possible) turn off single specific warnings?

Log in to reply