[Mlir-commits] [mlir] [mlir] Fix -Wdangling-assignment-gsl in OperationSupport.h (PR #126140)

Shoaib Meenai llvmlistbot at llvm.org
Thu Feb 6 14:31:42 PST 2025


smeenai wrote:

> This feels like a false positive, but does the error persist if you add a + before the lambda to force conversion to a function pointer?

That was the first thing I tried. The warning was still there, and I actually got ASAN failures after making that change, which I wasn't expecting at all.

https://github.com/llvm/llvm-project/pull/126140


More information about the Mlir-commits mailing list