Missing -Wreturn-stack-address cases for lambda. #102050
Labels
clang:diagnostics
New/improved warning or error message in Clang, but not in clang-tidy or static analyzer
clang:memory-safety
Issue/FR relating to the lifetime analysis in Clang (-Wdangling, -Wreturn-local-addr)
false-negative
lambda
C++11 lambda expressions
https://godbolt.org/z/nfacaEfGM, it would be good to detect case 2 and case 3.
The text was updated successfully, but these errors were encountered: