r181627 - Avoid patching storage class for block scope thread_local variables.

Enea Zaffanella zaffanella at cs.unipr.it
Tue May 14 02:31:19 PDT 2013


On 05/14/2013 08:48 AM, Richard Smith wrote:
> This caused PR15991. You're missing an update to
> CodeGenFunction::EmitVarDecl.

Here is a tentative fix for review: the switch on the storage class "as 
written" is replaced by calls to semantics-aware methods.
(Note: as I said previously, I am not changing the special handling of 
SC_OpenCLWorkGroupLocal storage class.)

Enea.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PR15991-fix.patch
Type: text/x-diff
Size: 1222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130514/fb5c61b2/attachment.patch>


More information about the cfe-commits mailing list