svenbarth
|
ced3885dbb
* generate construction function for the attributes used in a unit using a more straight forward approach
|
6 years ago |
svenbarth
|
0b63e89ba2
* make the reference to the TCustomAttribute type global
|
6 years ago |
svenbarth
|
d9d2515ada
* move binding of a dangling attribute list to a sym's/def's attribute list to a class procedure of trtti_attribute_list
|
6 years ago |
svenbarth
|
5cea374255
* add a remark that's going to be important once extended RTTI is supported (Delphi programs crash if an attribute's constructor is used that does not have any extended RTTI)
|
6 years ago |
svenbarth
|
d31dd4ac7b
* better check for a valid call node
|
6 years ago |
svenbarth
|
99914b4279
* instead of collecting the raw parameters we need to collect the parameters as passed to the call as there might be type conversions involved
|
6 years ago |
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 |