Meta: Remove -Wno-overloaded-virtual from clang compilation

This silenced warning was added a long time ago when we were first
bringing up Lagom: a619943001

The commit message indicates we were seeing errors due to this warning
in many places. We now compile just fine with this warning enabled, so
let's remove its silencer to be a little more consistent between clang
and GCC.
This commit is contained in:
Timothy Flynn 2025-04-26 08:23:57 -04:00 committed by Andrew Kaster
parent 317cf65eb0
commit 6f894ccd77

View File

@ -139,8 +139,6 @@ add_library(JSClangPlugin INTERFACE)
add_library(GenericClangPlugin INTERFACE)
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang$")
add_cxx_compile_options(-Wno-overloaded-virtual)
if (ENABLE_FUZZERS_LIBFUZZER)
add_cxx_compile_options(-fsanitize=fuzzer)
set(LINKER_FLAGS "${LINKER_FLAGS} -fsanitize=fuzzer")