[cfe-commits] [Patch] x 3: Matchers for components of loops, a spelling fix, isInteger matcher

Sam Panzer panzer at google.com
Tue Jul 10 16:11:27 PDT 2012


There are three patches attached here. One adds matchers for the various
parts of a for loop (initializer, condition, increment), as well as
extending the hasBody matcher to work for while and do-while loops. The
second patch adds an isInteger matcher for types.
The third patch fixes a bug in allOf, where a few of the name chages (AllOf
--> allOf) had been missed.

All matchers come with unit tests.

Thoughts?
-Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120710/4b8bbff6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loop-matchers.patch
Type: application/octet-stream
Size: 5768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120710/4b8bbff6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: isInteger.patch
Type: application/octet-stream
Size: 2575 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120710/4b8bbff6/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: allof.patch
Type: application/octet-stream
Size: 1457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120710/4b8bbff6/attachment-0002.obj>


More information about the cfe-commits mailing list