[PATCH] D13336: [MSVC] 'property' with an empty array in array subscript expression.

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 13 21:19:39 PDT 2015


ABataev added a comment.

In http://reviews.llvm.org/D13336#257628, @rnk wrote:

> I think fundamentally we are doing too much declspec property lowering in Sema. We might want to back up and figure out how to do it in IRGen. Right now we have bugs like this, which are probably more important than new functionality:
>  https://llvm.org/bugs/show_bug.cgi?id=24132


Currently declspec property is represented as a member function call and does not keep info about property itself. Array subscripts exprs add arguments to this member function call and it must be built in Sema, so we could use an existing codegen for CallExprs.


http://reviews.llvm.org/D13336





More information about the cfe-commits mailing list