[cfe-dev] Clang and MSVC11 headers

João Matos ripzonetriton at gmail.com
Tue May 7 08:07:09 PDT 2013


On Tue, May 7, 2013 at 3:43 PM, Leszek Świrski <leszek at swirski.co.uk> wrote:

> On 2 May 2013 12:25, João Matos <ripzonetriton at gmail.com> wrote:
> > My patch is probably an hack, and I don't know enough about the
> preprocessor works to understand how to do the correct fix without spending
> a lot of time researching it. Your explanation sounds interesting though.
>
> Actually, having taken another look at your patch, it looks like it could
> almost do the job. Rather than just ignoring all expanded commas, I've made
> a change where all freshly expanded tokens are ignored by the lexer when
> first passed over, which seems to be doing the job so far. The below patch
> is a quick hack that doesn't check if we're running in ms-compatibility
> mode yet, still testing if it's actually ms-compatibile.
>

Does it fix regression problem Nico found?

-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130507/73276cf8/attachment.html>


More information about the cfe-dev mailing list