diff options
author | Sergio Martins <smartins@kde.org> | 2018-02-28 10:04:39 +0000 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2018-02-28 10:08:36 +0000 |
commit | 23015920c13aa64228ff0dd23cf15473a2ab18f6 (patch) | |
tree | a42f3053a59893e39c543565ad7fc151fbb881d7 /README.md | |
parent | d10f7306d23b9b3e6e696565450a33062548684a (diff) |
Added CLAZY_HEADER_FILTER env variable
In case you can't use -isystem due to a weird build system.
CCBUG: 391212
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -408,6 +408,8 @@ If you think you found a false-positive, file a bug report. If you want to suppress warnings from headers of Qt or 3rd party code, include them with `-isystem` instead of `-I`. +Alternatively you can set the CLAZY_HEADER_FILTER env variable to a regexp matching the path where you want warnings. + You can also suppress individual warnings by file or by line by inserting comments: - To disable clazy in a specific source file, insert this comment, anywhere in the file: |