[Rock-dev] clang vs. typelib

Janosch Machowinski Janosch.Machowinski at dfki.de
Thu Jul 17 12:06:14 CEST 2014


So,
basically I would register a alias, per 'DeSugaring' step I do ?!
DeSugaring is the name in clang, for removing one layer
of typedefs..

On 17.07.2014 11:09, Sylvain Joyeux wrote:
> Another thing that we did not mention: typedefs.
>
> Typedefs need to be registered as well. It is really critical for
> complex templates that the user can use base/Vector3d instead of the
> complete eigen definition ...
>
> Sylvain
>
>>> Eeeeh. Misunderstanding.
>>> Nope, they cannot be pulled later from the typelib registry as that
>>> would require the user to basically tell orogen all the files that
>>> should be pulled (replicating the set of recursive includes). If you
>>> think about it, really not fun when you start hitting Eigen or boost.
We could also place references to TLB files in TLB files themself,
and generate a TLB File per header file. In this case we could stop
parsing anything, it there is already a TLB file for an included
header. This could lead to big speedups, as we don't reparse all the
headers over and over again.
Greetings
     Janosch


-- 
  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