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

Shoaib Meenai llvmlistbot at llvm.org
Thu Feb 6 15:50:46 PST 2025


smeenai wrote:

Per a3b4d9147406cbd90090466a9b2b9bb2e9f6000c:

> I think this is a false positive for a non-capturing lambda, but I can't
find anything in the standard that guarantees that these have eternal
lifetime.

I'll post a Clang issue to clarify, but this generates a huge amount of build spam, so I think it's worth addressing that even if it's not the ultimate fix.

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


More information about the Mlir-commits mailing list