[PATCH] D14506: Porting shouldVisitImplicitCode to DataRecursiveASTVisitor.
Ben Craig via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 9 11:59:54 PST 2015
bcraig created this revision.
bcraig added reviewers: zaks.anna, rsmith.
bcraig added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
RecursiveASTVisitor allows visitors to specify whether they wish to visit
implicitly created code or not. I have ported that code over to
DataRecursiveASTVisitor.
DataRecursiveASTVisitor didn't have any tests before this change, so I forked
RecursiveASTVisitorTestExprVisitor. This test exercised some
defaultArgumentWasInherited() cases, so I got those working as well.
I plan on using this new feature in a checker that searches for excess padding.
http://reviews.llvm.org/D14506
Files:
include/clang/AST/DataRecursiveASTVisitor.h
unittests/Tooling/CMakeLists.txt
unittests/Tooling/DataRecursiveASTVisitorTestExprVisitor.cpp
unittests/Tooling/LookupTest.cpp
unittests/Tooling/TestVisitor.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14506.39731.patch
Type: text/x-patch
Size: 15738 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151109/123b9f43/attachment-0001.bin>
More information about the cfe-commits
mailing list