1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/utils
Logan Smith 16a34f1645 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
2020-07-20 12:32:47 -07:00
..
benchmark Enable -Wsuggest-override in the LLVM build 2020-07-20 12:32:47 -07:00
bugpoint
count
crosstool
docker Harmonize Python shebang 2020-07-16 21:53:45 +02:00
emacs
FileCheck [FileCheck] Fix up -dump-input* docs 2020-07-10 17:21:01 -04:00
fpcmp
gdb-scripts
git Add a git hook script that can be manually setup to run some checks on every push 2020-06-24 21:13:43 +00:00
gn [gn build] Port e1270b16c94 2020-07-20 17:51:57 +00:00
jedit
kate
KillTheDoctor
lint Harmonize Python shebang 2020-07-16 21:53:45 +02:00
lit Bump the trunk major version to 12 2020-07-15 12:05:05 +02:00
llvm-build Use configure depends to trigger reconfiguration when LLVMBuild files change 2020-05-26 16:30:20 +01:00
llvm-lit llvm-lit.in: Use a raw string for LLVM_SOURCE_DIR 2020-05-11 19:05:53 -04:00
llvm-locstats [llvm-dwarfdump][Stats] Clean up 2020-05-04 09:35:40 +02:00
LLVMVisualizers Add MSVC natvis visualisation of llvm::Type 2020-05-15 09:38:37 -04:00
Misc
not
PerfectShuffle
release Add -flang flag to the test-release.sh script 2020-07-17 13:30:14 +02:00
Reviewing
sanitizers
TableGen CodeGenDAGPatterns.h - remove unnecessary ComplexPattern forward declaration. NFCI. 2020-07-20 15:17:19 +01:00
Target/ARM
testgen Harmonize Python shebang 2020-07-16 21:53:45 +02:00
textmate
unittest Enable -Wsuggest-override in the LLVM build 2020-07-20 12:32:47 -07:00
UpdateTestChecks [Utils][Fix] remove unnecessary ; at the end 2020-07-19 20:48:28 +02:00
valgrind
vim vim: add bfloat keyword 2020-06-18 17:06:06 +00:00
vscode
yaml-bench
abtest.py
add_argument_names.py
bisect
bisect-skip-count
bugpoint_gisel_reducer.py
check_ninja_deps.py [utils] New script check_ninja_deps.py 2020-07-14 14:54:08 +01:00
check-each-file
chunk-print-before-all.py [Tools] Fixed bug with llvm/utils/chunk-print-before-all.py script. 2020-04-09 22:24:55 +00:00
clang-parse-diagnostics-file
codegen-diff
collect_and_build_with_pgo.py
countloc.sh
create_ladder_graph.py
demangle_tree.py
DSAclean.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
DSAextract.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
extract_symbols.py [AIX] Make sure we use export lists for plugins 2020-05-08 14:00:25 -04:00
extract_vplan.py
findmisopt
findoptdiff
findsym.pl
GenLibDeps.pl
GetSourceVersion
getsrcs.sh
indirect_calls.py
lldbDataFormatters.py
llvm-compilers-check
llvm-gisel-cov.py
llvm-native-gxx
llvm.grm
LLVMBuild.txt
llvmdo
llvmgrep
prepare-code-coverage-artifact.py
schedcover.py Harmonize Python shebang 2020-07-16 21:53:45 +02:00
shuffle_fuzz.py
shuffle_select_fuzz_tester.py
sort_includes.py
unicode-case-fold.py
update_analyze_test_checks.py [Utils] Check function attributes in update_test_checks 2020-07-19 20:07:24 +02:00
update_cc_test_checks.py [Utils] Check function attributes in update_test_checks 2020-07-19 20:07:24 +02:00
update_llc_test_checks.py [UpdateTestChecks] Add UTC_ARGS support for update_{llc,cc}_test_checks.py 2020-07-08 11:00:10 +01:00
update_mca_test_checks.py
update_mir_test_checks.py
update_test_checks.py [Utils] Check function attributes in update_test_checks 2020-07-19 20:07:24 +02:00
UpdateCMakeLists.pl
wciia.py