[cfe-commits] [PATCH] Mutable qualifier in C++0x lambda declarators

Douglas Gregor dgregor at apple.com
Wed Jul 13 14:48:15 PDT 2011


On Jul 13, 2011, at 6:15 AM, John Freeman wrote:

> This is a patch that adds a location to DeclaratorChunk::FunctionTypeInfo for the mutable qualifier in a lambda declarator. I also added a new parameter to DeclaratorChunk::getFunction for it, but not at the end, as it seemed more appropriate next to the other qualifiers. This means it has no default, and so I had to change call sites throughout Parse/ and Sema/. Let me know if I should have put it at the end with a default argument, and I'll change it.

Looks good. I've committed this as r135090.

	- Doug



More information about the cfe-commits mailing list