[Mlir-commits] [mlir] [mlir][NFC] Avoid a warning (PR #114052)

Piotr Fusik llvmlistbot at llvm.org
Tue Oct 29 07:06:22 PDT 2024


pfusik wrote:

> LGTM, thanks for the fix and for preparing the codebase for a transition to C++20 :)
> 
> [nit] Add a note saying which compiler makes this a warning (gcc? clang? and version)

Added in the commit message. gcc 14.1 and 14.2 emit this warning even without `-std=c++20`: https://godbolt.org/z/r4P7rqEb7

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


More information about the Mlir-commits mailing list