ladybird/Tests/ClangPlugins/LibJSGCTests
Matthew Olsson 5740f93ef4 ClangPlugins: Check for strong root fields in GC allocated objects
GC-allocated objects should never have JS::SafeFunction/JS::Handle
fields.

For now the plugin only emits warnings here, as there are many cases
of this occurring in the codebase that aren't trivial to fix. It is also
behind a CMake flag since it is a _very_ loud warning.
2024-05-30 09:29:20 -06:00
..
Macros Tests: Add tests for ClangPlugin's macro validation 2024-05-30 09:29:20 -06:00
calling_base_visit_edges_not_through_using_decl.cpp ClangPlugins: Convert all warnings to errors 2024-05-22 21:55:34 -06:00
cell_member_not_wrapped.cpp ClangPlugins: Convert all warnings to errors 2024-05-22 21:55:34 -06:00
gc_allocated_member_is_accessed.cpp
gc_allocated_member_is_visited.cpp
missing_call_to_base_visit_edges.cpp ClangPlugins: Convert all warnings to errors 2024-05-22 21:55:34 -06:00
missing_member_in_visit_edges.cpp ClangPlugins: Convert all warnings to errors 2024-05-22 21:55:34 -06:00
missing_visit_edges_method.cpp ClangPlugins: Convert all warnings to errors 2024-05-22 21:55:34 -06:00
non_cell_class.cpp
not_visiting_rawgcptr.cpp
strong_root_fields_in_gc_allocated_types.cpp ClangPlugins: Check for strong root fields in GC allocated objects 2024-05-30 09:29:20 -06:00
wrapping_non_cell_member.cpp ClangPlugins: Convert all warnings to errors 2024-05-22 21:55:34 -06:00