[PATCH] D112532: [Matrix] Replace some err kinds with err_builtin_invalid_arg_type. (NFC)
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 26 06:55:56 PDT 2021
erichkeane added a comment.
I'm fine with this change in general... but did this not manage to break any tests?
================
Comment at: clang/lib/Sema/SemaChecking.cpp:16654
+ Diag(PtrExpr->getBeginLoc(), diag::err_builtin_invalid_arg_type)
+ << PtrArgIdx + 1 << "pointer to a valid matrix element type"
+ << PtrExpr->getType();
----------------
Can you make these be a "select" instead? It makes it really difficult to localize if we do this.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112532/new/
https://reviews.llvm.org/D112532
More information about the cfe-commits
mailing list