diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-05-01 20:23:19 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-07 16:41:37 +0000 |
commit | fd8363a62cc2c1318a0b58b442c3fbc451554fa2 (patch) | |
tree | df7f2a5700d3a0ed7c35ff3609cd0453386ec4c5 /lib/jsonParse.ll | |
parent | Pass new values more efficiently (diff) | |
download | ilt-fd8363a62cc2c1318a0b58b442c3fbc451554fa2.tar.bz2 ilt-fd8363a62cc2c1318a0b58b442c3fbc451554fa2.tar.xz ilt-fd8363a62cc2c1318a0b58b442c3fbc451554fa2.zip |
Fixup clang, cppcheck and iwyu warnings
Diffstat (limited to 'lib/jsonParse.ll')
-rw-r--r-- | lib/jsonParse.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/jsonParse.ll b/lib/jsonParse.ll index c9c708c..ab09e80 100644 --- a/lib/jsonParse.ll +++ b/lib/jsonParse.ll @@ -17,7 +17,6 @@ class jsonBaseFlexLexer; #ifdef __clang__ #pragma clang diagnostic ignored "-Wnull-conversion" #endif -[[maybe_unused]]static constexpr auto x=getpid; %} beginobj "{" @@ -155,4 +154,6 @@ text [^\\\"]* <*>. { LexerError("Unexpected input"); + // Make iwyu think unistd.h is required + [[maybe_unused]]static constexpr auto x=getpid; } |