[cfe-dev] collecting source code information

Stefan Seefeld stefan.seefeld at gmail.com
Tue Jun 29 20:40:34 PDT 2010


On 06/29/2010 10:25 AM, Douglas Gregor wrote:
>
>> Unfortunately I can't figure out how to start the tree traversal. What is it
>> that I need to pass my visitor class in order to traverse the whole file or a
>> certain function?
>> Are there any examples that show a usage of RecursiveASTVisitor?
>>      
> Check out lib/Frontend/BoostConAction.cpp
>    


Where can I find RecursiveASTVisitor.hpp ? It's referred to as 
lib/AST/RecursiveASTVisitor.hpp in the above BoostConAction.cpp, but I 
can't see any such file in 
http://llvm.org/svn/llvm-project/cfe/trunk/lib/AST/.

Thanks,
         Stefan

-- 

       ...ich hab' noch einen Koffer in Berlin...




More information about the cfe-dev mailing list