mirror of
https://github.com/RGBCube/serenity
synced 2026-01-15 08:31:00 +00:00
This is implemented as a Clang frontend tool, and currently does two
things:
- Ensure for all fields wrapped in {Nonnull,}GCPtr<T>, T inherits from
JS::Cell
- Ensure for all fields not wrapped in {Nonnull,}GCPtr, that the type
does not inherit from JS::Cell (otherwise it should be wrapped in a
Ptr class).
In the future, this tool could be extended further. For example, we may
consider validating all implementations of Cell::visit_impl.
3 lines
32 B
Text
3 lines
32 B
Text
build/
|
|
cmake-build-debug/
|
|
venv/
|