Without this patch when using CMAKE_CXX_STANDARD=20 and Clang 13
build fails with
llvm/lib/Support/Signals.cpp:86:26: error: declaration requires a global constructor [-Werror,-Wglobal-constructors]
Differential D117248
Get rid of global constructor in llvm/lib/Support/Signals.cpp in C++20 mode Godin on Jan 13 2022, 1:36 PM. Authored by
Details
Without this patch when using CMAKE_CXX_STANDARD=20 and Clang 13 llvm/lib/Support/Signals.cpp:86:26: error: declaration requires a global constructor [-Werror,-Wglobal-constructors]
Diff Detail
Event TimelineComment Actions LGTM, but do you know what explains this behavior in C++20?
|
clang-format not found in user’s local PATH; not linting file.