[cfe-dev] [OpenCL patch] kernel attributes implementation
Anton Lokhmotov
Anton.Lokhmotov at arm.com
Thu Jan 12 02:09:04 PST 2012
> DummyTypeExpr will encode the type as an expression to get it through
> the AttributeList machinery without any refactoring. It will work, and
> it is expedient, but it's not the right long-term solution for Clang.
> If we have to go in this direction, we shouldn't introduce a new Expr
> kind for it. Rather, we should just use OpaqueValueExpr, which can
> fulfill the same role.
Agree.
Guy, is it something you could try to refactor?
Cheers,
Anton.
More information about the cfe-dev
mailing list