[PATCH] D94092: [Clang] Remove unnecessary Attr.isArgIdent checks.
Florian Hahn via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 5 08:35:09 PST 2021
fhahn created this revision.
fhahn added reviewers: aaron.ballman, rjmccall, Bigcheese, erichkeane.
fhahn requested review of this revision.
Herald added a project: clang.
The MatrixType, ExtVectorType and VectorSize attributes have arguments
defined as ExprArguments in Attr.td. So their arguments should never
be ArgIdents and the logic to handle this case can be removed.
The logic has been replaced by an assertion to ensure the arguments
are always ArgExpressions
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94092
Files:
clang/lib/Sema/SemaType.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94092.314625.patch
Type: text/x-patch
Size: 3642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210105/089549b8/attachment.bin>
More information about the cfe-commits
mailing list