HomePhabricator

[Clang] Remove unnecessary Attr.isArgIdent checks.

Authored by fhahn on Wed, Jan 6, 6:59 AM.

Description

[Clang] Remove unnecessary Attr.isArgIdent checks.

The MatrixType, ExtVectorType, VectorSize and AddressSpace 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

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D94092

Details

Committed
fhahnWed, Jan 6, 10:01 AM
Reviewer
erichkeane
Differential Revision
D94092: [Clang] Remove unnecessary Attr.isArgIdent checks.
Parents
rG08e5e91e45af: [X86] Remove [ER]SP from all CSR lists
Branches
Unknown
Tags
Unknown