Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to have clang_tidy ignore 3rd party macros?

How to have clang_tidy ignore 3rd party macros?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 428 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved