llvm-project/clang/utils
Carlos Galvez c4db521cea [clang] Introduce support for disabling warnings in system macros
Often we run into situations where we want to ignore
warnings from system headers, but Clang will still
give warnings about the contents of a macro defined
in a system header used in user-code.

Introduce a ShowInSystemMacro option to be able to
specify which warnings we do want to keep raising
warnings for. The current behavior is kept in this patch
(i.e. warnings from system macros are enabled by default).
The decision as to whether this should be an opt-in or opt-out
feature can be made in a separate patch.

To put the feature to test, replace duplicated code for
Wshadow and Wold-style-cast with the SuppressInSystemMacro tag.
Also disable the warning for C++20 designators, fixing #52944.

Differential Revision: https://reviews.llvm.org/D116833
2022-01-12 08:18:19 +00:00
..
ABITest
CIndex
ClangVisualizers
TableGen [clang] Introduce support for disabling warnings in system macros 2022-01-12 08:18:19 +00:00
TestUtils
VtableTest
analyzer [analyzer] Allow cmake options to be passed to satest container 2021-10-25 11:15:40 +02:00
check_cfc [NFC][clang]Inclusive language: remove remaining uses of sanity 2021-11-24 14:20:13 -05:00
hmaptool [hmaptool] Port to python3 2021-11-19 19:25:31 -05:00
perf-training
valgrind
CaptureCmd
ClangDataFormat.py
CmpDriver
FindSpecRefs
FuzzTest
bash-autocomplete.sh
builtin-defines.c
clangdiag.py
convert_arm_neon.py [NFC][clang] Inclusive language: replace master with main in convert_arm_neon.py 2021-11-16 10:11:06 -06:00
creduce-clang-crash.py
find-unused-diagnostics.sh
make-ast-dump-check.sh [clang] Use portable "#!/usr/bin/env bash" shebang for tools and utils. 2021-09-23 21:16:43 +05:30
modfuzz.py
module-deps-to-rsp.py
token-delta.py