[all-commits] [llvm/llvm-project] 992fa7: [clang-tidy] Initialize DiagnosticEngine in Expand...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Mon Jul 24 12:49:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 992fa7be3438bce61cfba7c0e0b07d9d1ddcc05b
https://github.com/llvm/llvm-project/commit/992fa7be3438bce61cfba7c0e0b07d9d1ddcc05b
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M clang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/infrastructure/diagnostic.cpp
Log Message:
-----------
[clang-tidy] Initialize DiagnosticEngine in ExpandModularHeaders
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
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D156056
More information about the All-commits
mailing list