Clang segfaults with Non-Type Template Parameters and -Weverything #57369
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
crash
Prefer [crash-on-valid] or [crash-on-invalid]
The following code causes a Segmentation Fault when
-Weverything
is specified, starting from around Clang version 12.0.0 and up:I tested this on various versions of Clang using Compiler Explorer: https://godbolt.org/z/8G11GE8eq
(As an aside, MSVC and GCC are able to compile the example just fine, and Clang compiles it successfully without
-Weverything
)Here is the output from
x86-64 clang (trunk)
for reference:The text was updated successfully, but these errors were encountered: