[cfe-dev] How can I read clang::TypeLocVisitor::Visit() ?
Sean Silva
silvas at purdue.edu
Sat Nov 3 13:51:10 PDT 2012
Also, Doxygen generates hierarchy graphs. e.g. on
<http://clang.llvm.org/doxygen/classclang_1_1Type.html>
-- Sean Silva
On Thu, Nov 1, 2012 at 10:56 AM, Bill White <bill.white at griggsinst.com> wrote:
> I've been thinking about this recently. I think this github gist sheds some
> light on the hierarchy.
>
> git://gist.github.com/3994085.git
> https://gist.github.com/3994085
>
> The code here is not really C++ code. However, if you preprocess it you get
> a graphviz
> graph which has the type hierarchy. The gist has the details.
>
>
> On Thu, Nov 1, 2012 at 9:55 AM, Journeyer J. Joh <oosaprogrammer at gmail.com>
> wrote:
>>
>> The secret I found now is that debugging .def file can be helped by
>> viewing of intermediate file, which is '~~.ii'.
>>
>> These macro in .def files was a big wall for me to trace using gdb.
>> But now I found 'g++ -save-temps' of one of .h or .c very much helpful.
>>
>> Thank you very much!
>>
>> Sincerely
>> Journeyer
>>
>> 2012/11/1 Konstantin Tokarev <annulen at yandex.ru>:
>> >
>> >
>> > 01.11.2012, 17:04, "Journeyer J. Joh" <oosaprogrammer at gmail.com>:
>> >> Hi Konstantin Tokarev
>> >>
>> >> I understood.
>> >>
>> >> I doubted there be some secret I don't know.
>> >
>> > "Secret" is that .def files are usually included into several files with
>> > different definitions of macros used inside them.
>> >
>> > --
>> > 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
>> ----------------------------------------
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list