diff options
author | Volodymyr Sapsai <vsapsai@apple.com> | 2022-11-17 18:12:48 -0800 |
---|---|---|
committer | Volodymyr Sapsai <vsapsai@apple.com> | 2022-11-28 13:48:29 -0800 |
commit | eac90d1236cfd2935fac5cbe5634f09e2cd0981a (patch) | |
tree | e65edf964a13a262f5298924e82c0440ccd77d23 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 255e7e1c21eeb57b26585836a2e2d5a7f39e3cf3 (diff) | |
download | llvm-eac90d1236cfd2935fac5cbe5634f09e2cd0981a.zip llvm-eac90d1236cfd2935fac5cbe5634f09e2cd0981a.tar.gz llvm-eac90d1236cfd2935fac5cbe5634f09e2cd0981a.tar.bz2 |
[clang][deps] During scanning don't emit warnings-as-errors that are ignored with diagnostic pragmas.
Before the fix the scanning would fail with
`-Werror,-Wnon-modular-include-in-module` despite the warning being
suppressed in the source code.
Existing approach with `-Wno-error` is not sufficient because it negates
only general `-Werror` but not specific `-Werror=...` and some warnings
can still emitted as errors. Make the approach stricter by using `-w`
flag and ignore all warnings, including those upgraded to errors. This
approach is still valid as it doesn't affect the dependencies.
rdar://101588531
Differential Revision: https://reviews.llvm.org/D138252
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions