1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 02:38:11 +00:00
serenity/Libraries/LibWeb/Page
Lenny Maiorani 765936ebae
Everywhere: Switch from (void) to [[maybe_unused]] (#4473)
Problem:
- `(void)` simply casts the expression to void. This is understood to
  indicate that it is ignored, but this is really a compiler trick to
  get the compiler to not generate a warning.

Solution:
- Use the `[[maybe_unused]]` attribute to indicate the value is unused.

Note:
- Functions taking a `(void)` argument list have also been changed to
  `()` because this is not needed and shows up in the same grep
  command.
2020-12-21 00:09:48 +01:00
..
EditEventHandler.cpp LibWeb: Make DOM::Range more suitable for JS. 2020-12-09 21:05:06 +01:00
EditEventHandler.h LibWeb: Make DOM::Range more suitable for JS. 2020-12-09 21:05:06 +01:00
EventHandler.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
EventHandler.h LibWeb: Move editing stuff into EditEventHandler. 2020-12-09 21:05:06 +01:00
Frame.cpp LibWeb: Merge Document::layout() and Document::update_layout() 2020-12-14 10:39:57 +01:00
Frame.h LibWeb: Layout viewport rect was lagging behind when resizing 2020-12-02 23:50:19 +01:00
Page.cpp LibWeb: Add OutOfProcessWebView::load_html() 2020-10-08 23:20:52 +02:00
Page.h LibWeb+WebContent: Add on_load_finish hook to web views 2020-12-08 23:36:19 +01:00