diff options
| author | Jan Svoboda <jan_svoboda@apple.com> | 2021-09-10 14:42:11 +0200 |
|---|---|---|
| committer | Jan Svoboda <jan_svoboda@apple.com> | 2021-09-10 14:47:21 +0200 |
| commit | 993f60ae32de001ac9ac1ff512f2adf339e265c8 (patch) | |
| tree | b864b54b786e0c1b15cb4d7321762c9269fe48a8 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | ec7d8d5069bd83e8468e86108fff677aca836316 (diff) | |
[clang][deps] Sanitize both instances of DiagnosticOptions
During dependency scanning, we generally want to suppress -Werror. Apply the same logic to the DiagnosticOptions instance used for command-line parsing.
This fixes a test failure on the PS4 bot, where the system header directory could not be found, which was reported due to -Werror being on the command line and not being sanitized.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
