1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:17:35 +00:00
serenity/DevTools/UserspaceEmulator
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
..
CMakeLists.txt UserspaceEmulator: Keep Emulator& closer to the action in some places 2020-11-16 15:11:02 +01:00
Emulator.cpp Everywhere: Switch from (void) to [[maybe_unused]] (#4473) 2020-12-21 00:09:48 +01:00
Emulator.h UserspaceEmulator: Add lazy caching of debug info for shared libraries 2020-12-20 15:45:39 +01:00
main.cpp UserspaceEmulator: Support dynamically loaded programs 2020-12-14 23:05:53 +01:00
MallocTracer.cpp UserspaceEmulator: Support dynamically loaded programs 2020-12-14 23:05:53 +01:00
MallocTracer.h UserspaceEmulator: Inline some very hot functions 2020-11-19 21:46:01 +01:00
MmapRegion.cpp UserspaceEmulator: Support dynamically loaded programs 2020-12-14 23:05:53 +01:00
MmapRegion.h UserspaceEmulator: Support dynamically loaded programs 2020-12-14 23:05:53 +01:00
Region.cpp UserspaceEmulator: Keep Emulator& closer to the action in some places 2020-11-16 15:11:02 +01:00
Region.h UserspaceEmulator: Keep Emulator& closer to the action in some places 2020-11-16 15:11:02 +01:00
Report.h UserspaceEmulator: Optionally write reports to the debug log 2020-10-25 10:13:03 +01:00
SharedBufferRegion.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SharedBufferRegion.h UserspaceEmulator: Make Region a top-level class 2020-11-16 15:11:02 +01:00
SimpleRegion.cpp UserspaceEmulator+LibX86: Add support for 64-bit memory reads and writes (#3584) 2020-09-23 20:45:43 +02:00
SimpleRegion.h UserspaceEmulator: Make Region a top-level class 2020-11-16 15:11:02 +01:00
SoftCPU.cpp UserspaceEmulator: Support dynamically loaded programs 2020-12-14 23:05:53 +01:00
SoftCPU.h UserspaceEmulator: Support dynamically loaded programs 2020-12-14 23:05:53 +01:00
SoftMMU.cpp UserspaceEmulator: Fix page determination 2020-12-10 20:41:12 +01:00
SoftMMU.h UserspaceEmulator: Inline some very hot functions 2020-11-19 21:46:01 +01:00
ValueWithShadow.h AK+Format: Do some housekeeping in the format implementation. 2020-10-02 20:48:19 +02:00