Commit History

Author SHA1 Message Date
  svenbarth b5e6c0b98d * ensure that any potentially created constructor call is freed if the attribute is not bound to a def or sym 6 years ago
  svenbarth 0e04d9b4de * store the parameter nodes in the attribute object as well (we need to write them to the RTTI as well as store them in the PPU) 6 years ago
  svenbarth db37146f12 * rework code for parsing attributes to only allow constant expressions; Delphi only allows those as well and better we don't open *that* pandora's box just yet 6 years ago
  svenbarth ab2fa724ec * fix code formatting (no code changes) 6 years ago
  svenbarth 62c137a6d8 * check that we indeed have a type node and nothing else 6 years ago
  svenbarth f1715ff337 * fix code formatting (no code changes) 6 years ago
  svenbarth e296b26e9e - remove unit info and related code again as that will be handled similar, but differently with dynamic packages 6 years ago
  svenbarth ba413bcdfc * fix typo 6 years ago
  svenbarth 24c4b90343 * instead of declaring another type with a 'attribute' suffix, *search* for another type with a 'ATTRIBUTE' suffix (Delphi allows declaring both a TFoo and TFooAttribute in the same unit) 6 years ago
  svenbarth 39bab2dbcc * rename trtti_attributesdef to trtti_attributes_list 6 years ago
  svenbarth b2932393df Reintegration of Custom Attributes branch by Joost van der Sluis with patches reworked by Svetozar Belic [patch 1/3] 6 years ago
  Jonas Maebe 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 years ago
  Jonas Maebe e008785152 * insert the hidden parameters for objectdef methods after resolving 6 years ago
  Jonas Maebe ed2ae508d0 * only add hidden parameters for objectdef methods after generating the vmt, 6 years ago
  Jonas Maebe 91d5457b38 * moved around/replaced the following procedures to stop nflw from depending 6 years ago
  Jonas Maebe 28df55fe08 * moved handle_calling_convention() to pparautl 6 years ago
  svenbarth 251dfb6776 * don't allow constants of the record type that is currently being parsed; this would fail as soon as another field is added after the constant declaration 6 years ago
  Jonas Maebe ae087b92d7 * when creating a unique type alias for an object, class or interface, 7 years ago
  svenbarth a1c910d892 * fix for Mantis #32108: ensure that types are registered once there is no more specialization is going on 8 years ago
  svenbarth 68c5f45593 * also add a generic dummy symbol to the current module's dummy symbols after it had been parsed 8 years ago
  nickysn efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 years ago
  florian b1dff29cbf * removed unused units 8 years ago
  Jonas Maebe 4c68ea1000 * use pocalls_cdecl and cstylearrayofconst more consistently instead of 8 years ago
  svenbarth 76f55f2030 * set the realname of the reused generic dummy symbol to the parsed name as the casing might differ from the generic that triggered the creation of said dummy symbol 9 years ago
  svenbarth 56ae2d34b2 Ensure that (Bit)SizeOf(GenericParameter) returns a sensible value in case of constants (which are evaluated at compile time unlike if occuring in code) 9 years ago
  florian 1142fdeccd * initialize variables to avoid warnings 10 years ago
  svenbarth d3660fec31 Implement support for parsing "generic [class] procedure" and "generic [class] function" in non-Delphi modes. Since "generic" is a prefix it is quite ugly to implement, but from a Pascal language point of view it fits better than "procedure generic xyz". 10 years ago
  svenbarth 74c79803f7 Extend tlocalvarsym with the ability to not register it if needed. 10 years ago
  svenbarth 0ac12f0eaf Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed. 10 years ago
  svenbarth 922646d106 Adjust tfieldvarsym (and by extension tabstractvarsym) so that it can be created as not registered if needed. 10 years ago