diff options
author | Logan Smith <logan.r.smith0@gmail.com> | 2020-07-20 10:06:11 -0700 |
---|---|---|
committer | Logan Smith <logan.r.smith0@gmail.com> | 2020-07-20 12:32:47 -0700 |
commit | 8b16e45f66e24e4c10e2cea1b70d2b85a7ce64d5 (patch) | |
tree | 11fa9885b4e26049d3e9d0c7628645ad40219142 /llvm/lib/ExecutionEngine/SectionMemoryManager.cpp | |
parent | 9f5d8e8a729dddbb7c2e020df1507273d1c98fcb (diff) | |
download | llvm-8b16e45f66e24e4c10e2cea1b70d2b85a7ce64d5.zip llvm-8b16e45f66e24e4c10e2cea1b70d2b85a7ce64d5.tar.gz llvm-8b16e45f66e24e4c10e2cea1b70d2b85a7ce64d5.tar.bz2 |
Enable -Wsuggest-override in the LLVM build
This patch adds Clang's new (and GCC's old) -Wsuggest-override to the warning flags for the LLVM build. The warning is a stronger form of -Winconsistent-missing-override which warns _everywhere_ that override is missing, not just in places where it's inconsistent within a class.
Some directories in the monorepo need the warning disabled for compatibility's, or sanity's, sake; in particular, libcxx/libcxxabi, and any code implementing or interoperating with googletest, googlemock, or google benchmark (which do not themselves use override). This patch adds -Wno-suggest-override to the relevant CMakeLists.txt's to accomplish this.
Differential Revision: https://reviews.llvm.org/D84126
Diffstat (limited to 'llvm/lib/ExecutionEngine/SectionMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions