ladybird/Kernel/Interrupts
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
..
APIC.cpp Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
APIC.h Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
GenericInterruptHandler.cpp Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
GenericInterruptHandler.h Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
InterruptManagement.cpp Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
InterruptManagement.h Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
IOAPIC.cpp Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
IOAPIC.h Everywhere: Re-format with clang-format-11 2020-12-31 21:51:00 +01:00
IRQController.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
IRQHandler.cpp Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
IRQHandler.h Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
MSIHandler.h Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
PIC.cpp Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
PIC.h Interrupts: Simplify IRQ disabling & enabling in IRQController(s) 2020-03-24 16:15:33 +01:00
SharedIRQHandler.cpp Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
SharedIRQHandler.h Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00
SpuriousInterruptHandler.cpp Kernel: Return real handler purpose when registered to spurious handler 2021-03-23 19:27:00 +01:00
SpuriousInterruptHandler.h Kernel: Return real handler purpose when registered to spurious handler 2021-03-23 19:27:00 +01:00
UnhandledInterruptHandler.cpp Kernel: Use PANIC() in a bunch of places :^) 2021-02-14 09:36:58 +01:00
UnhandledInterruptHandler.h Kernel::CPU: Move headers into common directory 2021-03-21 09:35:23 +01:00