[PATCH] replaced callable_when_unconsumed annotation with generic callable_when annotation

Delesley Hutchins delesley at google.com
Fri Sep 6 10:56:00 PDT 2013


With respect to the string literals, the parser will currently accept only
a single unresolved identifier as an attribute.  Chris wanted to get this
patch out now, under the expectation that we would update the parser, and
then change this back after the parser has been updated.  While I do feel
that we should fix variadic enums in the parser, in the longer term we
probably want to transition to a full-fledged typestate system, and make
this a list of Exprs, which must be EnumConstantDecls.  In other words, the
states would be declared in the code as an arbitrary enum, and would not be
limited to "consumed" or "unconsumed".

  -DeLesley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130906/1b96c41e/attachment.html>


More information about the cfe-commits mailing list