Fix issue preventing suppression of compiler warnings with
-Wno-<warning> under C++20 and above. Add call to
ProcessWarningOptions and propagate DiagnosticOpts more properly.
Fixes: #56709, #61969
Differential D156056
[clang-tidy] Initialize DiagnosticEngine in ExpandModularHeaders PiotrZSL on Jul 23 2023, 7:51 AM. Authored by
Details Fix issue preventing suppression of compiler warnings with Fixes: #56709, #61969
Diff Detail
Event Timeline
Comment Actions A thought came to mind - since we are doing workarounds anyway, would it be easier to ask people to simply add -clang-diagnostic* to the Checks in their config file? It's fair to assume they will get those warnings when compiling the code. I feel the more workarounds we add in the code the harder it will be to clean it up later :)
|
When downloading your patch, this seems to not be needed to make the tests pass, should it be removed?