clang: regression - erroneous warning when calling [[nodiscard]]
static
function through a std::forward
#131458
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
duplicate
Resolved as duplicate
This code:
https://godbolt.org/z/cxGvxM9bn
Provokes a warning:
This seems to be a regression from clang-19.
This happens when:
static
std::forward
-edThe text was updated successfully, but these errors were encountered: