aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/apps
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-08-05 12:59:02 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-08-05 12:59:02 +0000
commit2896b2cc5046b04877ffc3d51da584c11b09721d (patch)
tree15cebdeaa3c7373ec10e0992b12e777118bd1ede /vespalib/src/apps
parent0816934a9ada5d9e7a7afca74e755ef7d25b4a24 (diff)
Turn off lint for test marco definitions we can actually use clang-tidy to cleanup our code.
Diffstat (limited to 'vespalib/src/apps')
-rw-r--r--vespalib/src/apps/make_fixture_macros/make_fixture_macros.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/vespalib/src/apps/make_fixture_macros/make_fixture_macros.cpp b/vespalib/src/apps/make_fixture_macros/make_fixture_macros.cpp
index d15b925d31a..4138708943e 100644
--- a/vespalib/src/apps/make_fixture_macros/make_fixture_macros.cpp
+++ b/vespalib/src/apps/make_fixture_macros/make_fixture_macros.cpp
@@ -1,7 +1,7 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <stdio.h>
-#include <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
#include <algorithm>
#include <vespa/log/log.h>
@@ -132,7 +132,7 @@ void make_macro_wire(int n) {
out_opt(ignore, ", true", ", false");
out_opt(mt, ", threads", ", 1");
out_list_n(", ", "fixture%d", "", n);
- out(")\n");
+ out(") // NOLINT\n");
}
}
fprintf(stdout, "\n// test macro variants for %d test fixtures END\n\n", n);