[cfe-commits] r161703 - in /cfe/trunk: include/clang/AST/Stmt.h lib/AST/Stmt.cpp
Abramo Bagnara
abramo.bagnara at gmail.com
Tue Aug 14 13:56:44 PDT 2012
Il 14/08/2012 22:14, Richard Smith ha scritto:
>
> Aha, there's another documentation page which somewhat contradicts the
> first, but seems more accurate:
>
> http://msdn.microsoft.com/en-us/library/352sth8z(v=vs.80).aspx
>
> One final question, what does MSVC make of this:
>
> __asm out dx, ax ; this comment isn't tokenizable
>
> If it accepts it, we may have to handle __asm in the lexer.
It is accepted.
I think that the text after semicolon inside __asm context should be
parsed as a comment (similarly to //)
More information about the cfe-commits
mailing list