[Rock-dev] clang vs. typelib
Janosch Machowinski
Janosch.Machowinski at dfki.de
Thu Jul 17 19:36:05 CEST 2014
Okay, I found a way to get all Typedefs.
One needs to match in the AST for their declarations.
Greetings
Janosch
On 17.07.2014 17:23, Martin Zenzes wrote:
> On 07/17/2014 01:32 PM, Sylvain Joyeux wrote:
>>> basically I would register a alias, per 'DeSugaring' step I do ?!
>>> DeSugaring is the name in clang, for removing one layer
>>> of typedefs..
>> Yes, but starting with the type (when you register an alias, the
>> aliased type has to exist).
> what would be an example of this?
>
> i added code to recursively desugar nested records in the
> extractor-master... certainly not correct or elegant, but its there ;-)
>
> for the example present it looks good, only template argument are not
> printed in the moment (eg for Eigen-types)...
>> Sylvain
>> _______________________________________________
>> Rock-dev mailing list
>> Rock-dev at dfki.de
>> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
Dipl. Inf. Janosch Machowinski
SAR- & Sicherheitsrobotik
Universität Bremen
FB 3 - Mathematik und Informatik
AG Robotik
Robert-Hooke-Straße 1
28359 Bremen, Germany
Zentrale: +49 421 178 45-6611
Besuchsadresse der Nebengeschäftstelle:
Robert-Hooke-Straße 5
28359 Bremen, Germany
Tel.: +49 421 178 45-6614
Empfang: +49 421 178 45-6600
Fax: +49 421 178 45-4150
E-Mail: jmachowinski at informatik.uni-bremen.de
Weitere Informationen: http://www.informatik.uni-bremen.de/robotik
More information about the Rock-dev
mailing list