ladybird/Kernel/PCI
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
..
Access.cpp Revert "Kernel/PCI: Allow to set the PCI IRQ line of a device" 2021-04-03 11:57:23 +02:00
Access.h Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
Definitions.h Kernel/PCI: Introduce a new ECAM access mechanism 2021-04-03 19:34:52 +02:00
Device.cpp Kernel: Use nested Kernel::PCI namespaces more to reduce PCI:: spam 2020-04-08 17:29:37 +02:00
Device.h Kernel: Change get_pci_address() to pci_address() in PCI::Device class 2020-02-24 11:27:03 +01:00
DeviceController.cpp Kernel: Add various methods to handle interrupts in the PCI subsystem 2020-12-21 00:19:21 +01:00
DeviceController.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Initializer.cpp Kernel/PCI: Introduce a new ECAM access mechanism 2021-04-03 19:34:52 +02:00
Initializer.h Kernel: Simplify PCI initialization logic 2020-04-08 17:39:17 +02:00
IOAccess.cpp Kernel: Convert klog() => AK::Format in PCI 2021-03-12 15:22:35 +01:00
IOAccess.h Kernel/PCI: Introduce a new ECAM access mechanism 2021-04-03 19:34:52 +02:00
MMIOAccess.cpp Kernel/PCI + CPU: Allow to access unaligned data 2021-04-06 22:25:28 +02:00
MMIOAccess.h Kernel/PCI: Introduce a new ECAM access mechanism 2021-04-03 19:34:52 +02:00
WindowedMMIOAccess.cpp Kernel/PCI + CPU: Allow to access unaligned data 2021-04-06 22:25:28 +02:00
WindowedMMIOAccess.h Kernel/PCI: Introduce a new ECAM access mechanism 2021-04-03 19:34:52 +02:00