summaryrefslogtreecommitdiff
path: root/benchmark/parse/filter.benchmark.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/parse/filter.benchmark.cpp')
-rw-r--r--benchmark/parse/filter.benchmark.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmark/parse/filter.benchmark.cpp b/benchmark/parse/filter.benchmark.cpp
index d650cb72c9..e1e939f2ab 100644
--- a/benchmark/parse/filter.benchmark.cpp
+++ b/benchmark/parse/filter.benchmark.cpp
@@ -19,8 +19,9 @@ style::Filter parse(const char* expression) {
}
static void Parse_Filter(benchmark::State& state) {
- while (state.KeepRunning()) {
- parse(R"FILTER(["==", "foo", "bar"])FILTER");
+ // warning: Attempt to free released memory [clang-analyzer-cplusplus.NewDelete]
+ while (state.KeepRunning()) { // NOLINT
+ parse(R"FILTER(["==", "foo", "bar"])FILTER"); // NOLINT
}
}