summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-28 18:47:26 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-28 18:47:26 +0000
commit038f618c17fe3329e097c99a89030298e377ddaa (patch)
tree63f7a11ecb3d9a61fd4b2d5aa3b8a9393051e79e /lib
parentTidy perf tests with helper (diff)
downloadilt-038f618c17fe3329e097c99a89030298e377ddaa.tar.bz2
ilt-038f618c17fe3329e097c99a89030298e377ddaa.tar.xz
ilt-038f618c17fe3329e097c99a89030298e377ddaa.zip
Create the last group in jsonParse.ll
Fixes warning from lcov/gvoc about missing lines.
Diffstat (limited to 'lib')
-rw-r--r--lib/jsonParse.ll9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/jsonParse.ll b/lib/jsonParse.ll
index 100bc46..abcd070 100644
--- a/lib/jsonParse.ll
+++ b/lib/jsonParse.ll
@@ -149,7 +149,10 @@ text [^\\\"]*
<*>. {
LexerError("Unexpected input");
- // Make iwyu think unistd.h is required
- [[maybe_unused]]static constexpr auto x=getpid;
- [[maybe_unused]]static constexpr auto y=printf;
}
+
+%%
+
+// Make iwyu think unistd.h is required
+[[maybe_unused]]static constexpr auto x=getpid;
+[[maybe_unused]]static constexpr auto y=printf;