ladybird/Kernel/ACPI
Nicholas-Baron c4ede38542 Everything: Add -Wnon-virtual-dtor flag
This flag warns on classes which have `virtual` functions but do not
have a `virtual` destructor.

This patch adds both the flag and missing destructors. The access level
of the destructors was determined by a two rules of thumb:
1. A destructor should have a similar or lower access level to that of a
   constructor.
2. Having a `private` destructor implicitly deletes the default
   constructor, which is probably undesirable for "interface" types
   (classes with only virtual functions and no data).

In short, most of the added destructors are `protected`, unless the
compiler complained about access.
2021-04-15 20:57:13 +02:00
..
Definitions.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
DynamicParser.cpp Kernel: Convert klog() => AK::Format in a handful of places 2021-03-12 15:22:35 +01:00
DynamicParser.h Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
Initialize.cpp Kernel: Move Kernel CommandLine parsing to strongly typed API. 2021-03-03 11:05:16 +01:00
Initialize.h Kernel: Remove "non-operational" ACPI parser state 2020-04-09 17:19:11 +02:00
MultiProcessorParser.cpp Kernel: Convert klog() => AK::Format in MultiProcessorParser 2021-03-12 15:22:34 +01:00
MultiProcessorParser.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
Parser.cpp Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
Parser.h Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00