[cfe-dev] How can I read clang::TypeLocVisitor::Visit() ?
Journeyer J. Joh
oosaprogrammer at gmail.com
Thu Nov 1 06:04:21 PDT 2012
Hi Konstantin Tokarev
I understood.
I doubted there be some secret I don't know.
Thank you.
Journeyer
2012/11/1 Konstantin Tokarev <annulen at yandex.ru>:
>
>
> 01.11.2012, 13:55, "Journeyer J. Joh" <oosaprogrammer at gmail.com>:
>> Hi list,
>>
>> I have a question about clang::TypeLocVisitor::Visit()
>>
>> This function is constructed with .def files.
>> include/clang/AST/TypeLocNodes.def
>> include/clang/AST/TypeNodes.def
>>
>> I wonder why this function is constructed with this uncommon .def file.
>
> AFAIU, it was done to separate list of node types from logic to simplify
> addition of new node types.
>
>> I wonder if there exist any rule that programmer must know about this .def file.
>
> It is just a plain header file #include'd into other.
>
> --
> Regards,
> Konstantin
--
----------------------------------------
Journeyer J. Joh
o o s a p r o g r a m m e r
a t
g m a i l d o t c o m
----------------------------------------
More information about the cfe-dev
mailing list