mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 01:26:22 +00:00
Userland: Add ESCAPING annotations to a bunch of places
This isn't comprehensive; just a result of a simple grep search.
This commit is contained in:
parent
e0d6afbabe
commit
a98ad191c7
Notes:
sideshowbarker
2024-07-17 07:25:39 +09:00
Author: https://github.com/mattco98
Commit: a98ad191c7
Pull-request: https://github.com/SerenityOS/serenity/pull/24361
Reviewed-by: https://github.com/ADKaster ✅
29 changed files with 60 additions and 59 deletions
|
@ -24,7 +24,7 @@ public:
|
|||
Descendants,
|
||||
};
|
||||
|
||||
[[nodiscard]] static JS::NonnullGCPtr<NodeList> create(JS::Realm&, Node const& root, Scope, Function<bool(Node const&)> filter);
|
||||
[[nodiscard]] static JS::NonnullGCPtr<NodeList> create(JS::Realm&, Node const& root, Scope, ESCAPING Function<bool(Node const&)> filter);
|
||||
virtual ~LiveNodeList() override;
|
||||
|
||||
virtual u32 length() const override;
|
||||
|
@ -33,7 +33,7 @@ public:
|
|||
virtual bool is_supported_property_index(u32) const override;
|
||||
|
||||
protected:
|
||||
LiveNodeList(JS::Realm&, Node const& root, Scope, Function<bool(Node const&)> filter);
|
||||
LiveNodeList(JS::Realm&, Node const& root, Scope, ESCAPING Function<bool(Node const&)> filter);
|
||||
|
||||
Node* first_matching(Function<bool(Node const&)> const& filter) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue