[llvm-dev] TraverseObjCTypeParamDecl usage in RecursiveASTVisitor

Karlis Senko via llvm-dev llvm-dev at lists.llvm.org
Sun Nov 8 15:04:44 PST 2015


Hello.

RecursiveASTVisitor changes from r241541 are calling 
TraverseObjCTypeParamDecl directly from Traverse ObjCCategoryDecl and 
Traverse ObjCInterfaceDecl instead of using TraverseDecl. Is there a 
specific reason for that?

I would expect that TraverseDecl is used as entry point for all 
Traverse...Decl methods. Calling Traverse...Decl directly skips 
additional checks from RecursiveASTVisitor::TraverseDecl and all sub 
classes that extend it.


Karlis Senko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151109/21d01625/attachment.html>


More information about the llvm-dev mailing list