<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>the attached patch might fix PR7390.</div><div><br></div><div>Random trivia: GCC happily compiles `SEL a; @selector(foo) = a;`.</div>
<div></div></blockquote></div><br><div>Fariborz, I saw that you just committed <a href="http://llvm.org/viewvc/llvm-project?view=rev&revision=106235">http://llvm.org/viewvc/llvm-project?view=rev&revision=106235</a> for the bug. With your patch, clang now treats @selectors() as lvalues and compiles <span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">`SEL a; @selector(foo) = a;` without complaint. I think that's wrong.</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Nico</span></div>
<meta charset="utf-8">