[cfe-commits] [PATCH] Allow RecursiveASTVisitor to visit implicit ctor initializers (for which isWritten() returns false)

James Dennett reviews at llvm-reviews.chandlerc.com
Thu Aug 23 18:17:03 PDT 2012


  This is an updated approach based on feedback: I generalized the pre-existing template ExpectedLocationVisitor and unified the two specific ConstructExprVisitor classes by adding a bool ShouldVisitImplicitCode -- that could be moved up into a base class if we wanted.

Hi rsmith, klimek,

http://llvm-reviews.chandlerc.com/D26

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D26?vs=56&id=60#differential-review-toc

Files:
  include/clang/AST/RecursiveASTVisitor.h
  unittests/Tooling/RecursiveASTVisitorTest.cpp
  unittests/Tooling/TestVisitor.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26.2.patch
Type: text/x-patch
Size: 10645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120823/590e7c0b/attachment.bin>


More information about the cfe-commits mailing list