mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 18:28:57 +00:00
Everywhere: Mark a bunch of function parameters as NOESCAPE
This fixes the relevant warnings when running LibJSGCVerifier. Note that the analysis is only performed over LibJS-adjacent code, but could be performed over the entire codebase. That will have to wait for a future commit.
This commit is contained in:
parent
31c5cdcbd5
commit
ff00d21d58
Notes:
sideshowbarker
2024-07-16 18:26:46 +09:00
Author: https://github.com/mattco98
Commit: ff00d21d58
Pull-request: https://github.com/SerenityOS/serenity/pull/23876
Issue: https://github.com/SerenityOS/serenity/issues/23791
Reviewed-by: https://github.com/awesomekling
16 changed files with 25 additions and 24 deletions
|
@ -134,9 +134,9 @@ public:
|
|||
int client_width() const;
|
||||
int client_height() const;
|
||||
|
||||
void for_each_attribute(Function<void(Attr const&)>) const;
|
||||
void for_each_attribute(NOESCAPE Function<void(Attr const&)>) const;
|
||||
|
||||
void for_each_attribute(Function<void(FlyString const&, String const&)>) const;
|
||||
void for_each_attribute(NOESCAPE Function<void(FlyString const&, String const&)>) const;
|
||||
|
||||
bool has_class(FlyString const&, CaseSensitivity = CaseSensitivity::CaseSensitive) const;
|
||||
Vector<FlyString> const& class_names() const { return m_classes; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue