[PATCH] D82617: Disable GCC's -Woverloaded-virtual, which has false positives.
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 25 23:25:41 PDT 2020
kadircet accepted this revision.
kadircet added a comment.
This revision is now accepted and ready to land.
LGTM, thanks!
This was also my final plan after investigating in https://reviews.llvm.org/D81920, but then I forgot ...
================
Comment at: clang/CMakeLists.txt:398
+ if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+ # Clang's version of -Woverloaded-virtual is OK, GCC's is too noisy.
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual")
----------------
nit: maybe put the gnu bug link in comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82617/new/
https://reviews.llvm.org/D82617
More information about the cfe-commits
mailing list