[all-commits] [llvm/llvm-project] 669f4b: [mlir][SubElements] Disambiguate cast<> call for MSVC
Benjamin Kramer via All-commits
all-commits at lists.llvm.org
Tue Jan 31 07:55:02 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 669f4bc558b7a3dec21bf1045bff5f3885838182
https://github.com/llvm/llvm-project/commit/669f4bc558b7a3dec21bf1045bff5f3885838182
Author: Benjamin Kramer <benny.kra at googlemail.com>
Date: 2023-01-31 (Tue, 31 Jan 2023)
Changed paths:
M mlir/include/mlir/IR/StorageUniquerSupport.h
Log Message:
-----------
[mlir][SubElements] Disambiguate cast<> call for MSVC
For some reason MSVC selects Attribute::cast here, and then fails to
call it because it takes no arguments. Feels like a generic lambda compiler
bug.
mlir/include\mlir/IR/StorageUniquerSupport.h(135): error C2672: 'mlir::Attribute::cast': no matching overloaded function found
More information about the All-commits
mailing list