[cfe-commits] [PATCH] RecursiveASTVisitor: fix type traversal for EnumDecl

Philip Craig philipjcraig at gmail.com
Fri Aug 31 23:06:12 PDT 2012


On Sat, Sep 1, 2012 at 3:41 PM, Philip Craig <philipjcraig at gmail.com> wrote:
> RecursiveASTVisitor was traversing D->getTypeForDecl() for EnumDecl,
> but shouldn't (same as for other TagDecl). It also wasn't traversing
> the C++11 integer type.

Sorry, here's a version with a unit test that actually passes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ravenumdecl.patch
Type: application/octet-stream
Size: 2178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120901/135c2049/attachment.obj>


More information about the cfe-commits mailing list