clang: misleading error message when redefining the body of a constructor ctor() = default;
#69094
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
enhancement
Improving things as opposed to bug fixing, e.g. new or missing feature
Attempting to redefine the CTOR of a class-type which was declared
= default
, produces the misleading error messageerror: 'Foo' is missing exception specification 'noexcept'
https://godbolt.org/z/7Tf85cYKG
The text was updated successfully, but these errors were encountered: