You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using the CXX_CLANG_TIDY functionality in CMake to add clang-tidy to targets. I have one file that is generated during the build that is out of my control that generates warnings for which I would like to suppress. I have tried the two line filters below but neither seem to change anything the header still produces warnings. Is my approach incorrect?
The file that contains the header that I would like to suppress:
I was able to get this to work. I misunderstood how this works. I assumed it filtered out code not to process but actually it is used to filter what to process. To get it to exclude a file using the line filter below.
I am currently using the CXX_CLANG_TIDY functionality in CMake to add clang-tidy to targets. I have one file that is generated during the build that is out of my control that generates warnings for which I would like to suppress. I have tried the two line filters below but neither seem to change anything the header still produces warnings. Is my approach incorrect?
The file that contains the header that I would like to suppress:
Line Filter Tried:
and
The text was updated successfully, but these errors were encountered: