diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-05-15 15:04:23 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-05-15 15:33:12 +0300 |
commit | c69e8fc0a6ee61f3b9ced7eef9212103b5962119 (patch) | |
tree | 562ee7467200f247f471274ed10a1f8bfb1a7dae /benchmark/parse/filter.benchmark.cpp | |
parent | d4f6cac686bdd92b913a8877c5a984dc0082b7a8 (diff) | |
download | qtlocation-mapboxgl-c69e8fc0a6ee61f3b9ced7eef9212103b5962119.tar.gz |
[tidy] Use NOLINT instead of per-folder .clang-tidy
Diffstat (limited to 'benchmark/parse/filter.benchmark.cpp')
-rw-r--r-- | benchmark/parse/filter.benchmark.cpp | 5 |
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 } } |