[PATCH] D84126: Enable -Wsuggest-override in the LLVM build

Pavel Labath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 00:47:51 PDT 2020


labath added a comment.

Instead of adding -Wno-suggest-override to every user it might be cleaner to add the flag to the INTERFACE_COMPILE_OPTIONS property of the relevant targets (gtest, gmock, and gbenchmark ?). That way, anything which links against these will inherit it automatically.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84126/new/

https://reviews.llvm.org/D84126





More information about the llvm-commits mailing list