Fork of llvm with experimental commits and workarounds for RPCS3
Go to file
Logan Smith d6caaac68d Only enable -Wsuggest-override if it doesn't suggest adding override to functions that are already final
A previous patch added -Wsuggest-override using a simple add_flag_if_supported(). This causes lots of warnings in LLVM when building with older GCC versions (< 9.2) which suggest adding override to functions that are only marked final. The current flags in both GCC >=9.2 and Clang accept plain final as equivalent to override final.

This patch adds logic to detect versions of -Wsuggest-override that warn on void foo() final and disables them to avoid warning spam in builds using older GCC's. This has the added minor benefit of getting rid of the useless C_SUPPORTS_SUGGEST_OVERRIDE_FLAG CMake cache variable which was set by add_flag_if_supported().

Differential Revision: https://reviews.llvm.org/D84292
2020-07-22 10:03:49 -07:00
benchmarks
bindings
cmake Only enable -Wsuggest-override if it doesn't suggest adding override to functions that are already final 2020-07-22 10:03:49 -07:00
docs [llvm-libtool-darwin] Add support for -static option 2020-07-21 13:08:49 -07:00
examples [ORC] Add TargetProcessControl and TPCIndirectionUtils APIs. 2020-07-16 15:09:13 -07:00
include Revert "Rename InlineFeatureAnalysis to FunctionPropertiesAnalysis" 2020-07-22 09:42:17 -07:00
lib [MSAN] Instrument libatomic load/store calls 2020-07-22 16:45:06 +00:00
projects
resources
runtimes [CMake][runtimes] Pass the CMAKE_ARGS to runtimes build correctly 2020-07-15 09:25:18 -07:00
test [MSAN] Instrument libatomic load/store calls 2020-07-22 16:45:06 +00:00
tools [llvm-readobj] - Don't get the name of the symbol table in ELFDumper<ELFT>::printSymbolsHelper. 2020-07-22 17:28:20 +03:00
unittests Revert "Rename InlineFeatureAnalysis to FunctionPropertiesAnalysis" 2020-07-22 09:42:17 -07:00
utils [gn build] Port a5e0194709c 2020-07-22 16:56:06 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore [clangd] Store index in '.cache/clangd/index' instead of '.clangd/index' 2020-07-07 14:53:45 +02:00
CMakeLists.txt [CMake] Enforce the minimum CMake version to be at least 3.13.4 2020-07-16 10:49:11 -04:00
CODE_OWNERS.TXT
configure
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.