Finding hidden virtual function prototypes...
Make sure the -Woverloaded-virtual
warnings are turned ON!
Make sure the -Woverloaded-virtual
warnings are turned ON!
Use clang-tidy:
clang-tidy -p build -header-filter=.* <<a compilation unit>>
This will highlight clang-diagnostic-overloaded-virtual warnings.
Consider adding the cert-*
checks to check for CERT Secure Coding
Guidelines