[cfe-commits] [PATCH] Extend lexical scope of attributes to include function parameters.

Delesley Hutchins delesley at google.com
Wed Sep 7 15:19:11 PDT 2011


Updated patch:

  http://codereview.appspot.com/4993045/

> Well… okay, if we have to check in the parser whether we have a function, please use
> Decl::isFunctionOrFunctionTemplate() and handle the function-template case.

An excellent point!  Done.

> How about naming these EnterDelayedFunctionContext and ExitDelayedFunctionContext?

I renamed these ActOnReenterFunctionContext, to match
ActOnReenterTemplateScope,
which does something very similar.

  -DeLesley

-- 
DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315
-------------- next part --------------
A non-text attachment was scrubbed...
Name: function_parameter_parsing4.patch
Type: text/x-patch
Size: 7057 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110907/f9757150/attachment.bin>


More information about the cfe-commits mailing list