[cfe-dev] looking for a C++ header file parser
Jonathan Roelofs
jonathan at codesourcery.com
Tue Apr 28 08:44:01 PDT 2015
On 4/28/15 9:26 AM, Brian Hare wrote:
>
> I am looking for some package that can parse C++ header files (hopefully
> recursively), and return a structure that holds all the available name
> information, classes, structs, namespaces, global variables, types,
> macros, functions, ect...
>
> Is there a way to use Clang to do this?
Yes. http://clang.llvm.org/docs/LibTooling.html
>
> Thanks!
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
--
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded
More information about the cfe-dev
mailing list