diff options
author | Wolfgang Pieb <wolfgang_pieb@playstation.sony.com> | 2021-09-16 17:22:31 -0700 |
---|---|---|
committer | Wolfgang Pieb <wolfgang_pieb@playstation.sony.com> | 2022-01-10 16:38:01 -0800 |
commit | d789ea713372d44e50ff52a85a198ac6bbedaef9 (patch) | |
tree | 68e1a9cb7fad85781678f9d29b4e21c2afcfeb70 /clang/unittests/Tooling/CompilationDatabaseTest.cpp | |
parent | 1d3964d2adc457d9a2ac6cad8be4c84fef36d19e (diff) | |
download | llvm-d789ea713372d44e50ff52a85a198ac6bbedaef9.zip llvm-d789ea713372d44e50ff52a85a198ac6bbedaef9.tar.gz llvm-d789ea713372d44e50ff52a85a198ac6bbedaef9.tar.bz2 |
[Diagnostics] Don't drop a statically set NoWarningAsError flag during option processing
When a -W<diag> option is given on the command line, and the corresponding diagnostic has
the NoWarnOnError flag set, prevent the flag from being dropped when the severity is reevaluated.
This fixes PR51837.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D109981
Diffstat (limited to 'clang/unittests/Tooling/CompilationDatabaseTest.cpp')
0 files changed, 0 insertions, 0 deletions