mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +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
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
|
||||
// expected-warning@+1 {{JS::Cell-inheriting class TestClass contains a GC-allocated member 'm_cell' but has no visit_edges method}}
|
||||
// expected-error@+1 {{JS::Cell-inheriting class TestClass contains a GC-allocated member 'm_cell' but has no visit_edges method}}
|
||||
class TestClass : public JS::Object {
|
||||
JS_OBJECT(TestClass, JS::Object);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue