[cfe-commits] [patch] [Windows] __leave keyword parsing and AST nodes

João Matos ripzonetriton at gmail.com
Tue Aug 28 15:59:33 PDT 2012


Hi, attached patch adds support for the "__leave" keyword used in "__try"
exception handling support on Windows/MSVC.

http://msdn.microsoft.com/en-us/library/9xtt5hxz(v=vs.110).aspx

Clang already had __leave as a keyword in TokenKinds but it was not being
consumed by the parser yet. I wired this up and also added a new Stmt AST
node for it.

-- 
João Matos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120828/5b5a9c36/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-__leave-keyword-parsing-and-AST-node.patch
Type: application/octet-stream
Size: 13347 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120828/5b5a9c36/attachment.obj>


More information about the cfe-commits mailing list