ClangPlugins: Convert all warnings to errors

Now that the lambda capture plugin isn't full of false-positives, we can
make the jump and start halting builds for these errors. It also allows
these plugins to be useful in CI.
This commit is contained in:
Matthew Olsson 2024-05-18 07:08:23 -07:00 committed by Andrew Kaster
commit 6a4938a524
Notes: sideshowbarker 2024-07-17 07:20:49 +09:00
9 changed files with 24 additions and 24 deletions

View file

@ -20,7 +20,7 @@ void test()
(void)a;
});
// expected-warning@+1 {{Variable with local storage is captured by reference in a lambda marked ESCAPING}}
// expected-error@+1 {{Variable with local storage is captured by reference in a lambda marked ESCAPING}}
take_fn_escaping([&a] {
(void)a;
});