mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
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:
parent
573bbd47ee
commit
6a4938a524
Notes:
sideshowbarker
2024-07-17 07:20:49 +09:00
Author: https://github.com/mattco98
Commit: 6a4938a524
Pull-request: https://github.com/SerenityOS/serenity/pull/24361
Reviewed-by: https://github.com/ADKaster ✅
9 changed files with 24 additions and 24 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue