[PATCH] D103163: [Matrix] Skip matrix casts checks for class or struct types in C++.
Saurabh Jha via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu May 27 12:53:40 PDT 2021
SaurabhJha accepted this revision.
SaurabhJha added a comment.
In D103163#2785578 <https://reviews.llvm.org/D103163#2785578>, @fhahn wrote:
> I discussed the problem offline with John and he suggested to handle matrix casts in TryStaticCast. This allows us the handle both static_cast and C-style casts with the same code. As a consequence, the default error messages for casting a matrix type to a non-matrix type and vice versa are used.
Makes sense Florian. I am sorry I missed it in my static cast patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103163/new/
https://reviews.llvm.org/D103163
More information about the cfe-commits
mailing list