aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2018-02-28 10:04:39 +0000
committerSergio Martins <smartins@kde.org>2018-02-28 10:08:36 +0000
commit23015920c13aa64228ff0dd23cf15473a2ab18f6 (patch)
treea42f3053a59893e39c543565ad7fc151fbb881d7 /README.md
parentd10f7306d23b9b3e6e696565450a33062548684a (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.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 856aa355..3375f09c 100644
--- a/README.md
+++ b/README.md
@@ -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: