http://clang.llvm.org/doxygen/ASTWriter_8h_source.html

(& ASTReader) - I think those would be the places to start.

On Thu, Jul 11, 2013 at 8:20 PM, Pavan Pattanada <[email protected]> wrote:
> Hi David,
> Thanks for the response. In that case, is there a API or some link which
> could point me to reading and writing ASTs to and from files?
>
> Thanks,
> Pavan
>
>
> On Thu, Jul 11, 2013 at 7:43 PM, David Blaikie <[email protected]> wrote:
>>
>> No. These aren't designed for serialization, just debugging tools. There
>> is ast serialization support for precompiled headers/modules support, though
>>
>> On Jul 11, 2013 7:33 PM, "Pavan Pattanada" <[email protected]> wrote:
>>>
>>>
>>> Hello,
>>> Is there a way to read from a file written using either dump() or
>>> dumpXML() function for a function body and populate the clang::FunctionDecl
>>> data structure?
>>>
>>>
>>> Thanks,
>>> Pavan
>>>
>>>
>>>
>>> _______________________________________________
>>> cfe-users mailing list
>>> [email protected]
>>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users
>>>
>
_______________________________________________
cfe-users mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

Reply via email to