[cfe-dev] Patch: Add support for &@selector()
fjahanian at apple.com
Thu Jun 17 16:02:09 CDT 2010
On Jun 17, 2010, at 1:54 PM, Nico Weber wrote:
> the attached patch might fix PR7390.
> Random trivia: GCC happily compiles `SEL a; @selector(foo) = a;`.
> Fariborz, I saw that you just committed http://llvm.org/viewvc/llvm-project?view=rev&revision=106235
> for the bug. With your patch, clang now treats @selectors() as
> lvalues and compiles `SEL a; @selector(foo) = a;` without complaint.
> I think that's wrong.
Sorry, our patches crossed path. I will take a look at this regression.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev