svenbarth
|
b5e6c0b98d
* ensure that any potentially created constructor call is freed if the attribute is not bound to a def or sym
|
6 rokov pred |
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 rokov pred |
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 rokov pred |
svenbarth
|
ab2fa724ec
* fix code formatting (no code changes)
|
6 rokov pred |
svenbarth
|
62c137a6d8
* check that we indeed have a type node and nothing else
|
6 rokov pred |
svenbarth
|
f1715ff337
* fix code formatting (no code changes)
|
6 rokov pred |
svenbarth
|
e296b26e9e
- remove unit info and related code again as that will be handled similar, but differently with dynamic packages
|
6 rokov pred |
svenbarth
|
ba413bcdfc
* fix typo
|
6 rokov pred |
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 rokov pred |
svenbarth
|
39bab2dbcc
* rename trtti_attributesdef to trtti_attributes_list
|
6 rokov pred |
svenbarth
|
b2932393df
Reintegration of Custom Attributes branch by Joost van der Sluis with patches reworked by Svetozar Belic [patch 1/3]
|
6 rokov pred |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 rokov pred |
Jonas Maebe
|
e008785152
* insert the hidden parameters for objectdef methods after resolving
|
6 rokov pred |
Jonas Maebe
|
ed2ae508d0
* only add hidden parameters for objectdef methods after generating the vmt,
|
6 rokov pred |
Jonas Maebe
|
91d5457b38
* moved around/replaced the following procedures to stop nflw from depending
|
6 rokov pred |
Jonas Maebe
|
28df55fe08
* moved handle_calling_convention() to pparautl
|
6 rokov pred |
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 rokov pred |
Jonas Maebe
|
ae087b92d7
* when creating a unique type alias for an object, class or interface,
|
7 rokov pred |
svenbarth
|
a1c910d892
* fix for Mantis #32108: ensure that types are registered once there is no more specialization is going on
|
7 rokov pred |
svenbarth
|
68c5f45593
* also add a generic dummy symbol to the current module's dummy symbols after it had been parsed
|
8 rokov pred |
nickysn
|
efc5e339d0
* use an enum instead of integer constants to represent inline numbers
|
8 rokov pred |
florian
|
b1dff29cbf
* removed unused units
|
8 rokov pred |
Jonas Maebe
|
4c68ea1000
* use pocalls_cdecl and cstylearrayofconst more consistently instead of
|
8 rokov pred |
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 rokov pred |
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 rokov pred |
florian
|
1142fdeccd
* initialize variables to avoid warnings
|
9 rokov pred |
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".
|
9 rokov pred |
svenbarth
|
74c79803f7
Extend tlocalvarsym with the ability to not register it if needed.
|
9 rokov pred |
svenbarth
|
0ac12f0eaf
Extend tstaticvarsym (and by extension tabstractnormalvarsym) with the capability to create it as unregistered if needed.
|
9 rokov pred |
svenbarth
|
922646d106
Adjust tfieldvarsym (and by extension tabstractvarsym) so that it can be created as not registered if needed.
|
9 rokov pred |