Sven/Sarah Barth
|
a3ae828b65
* use new compare_rettype() to compare the return types of functions to decide whether they can be added as overloads so that operator overloads that have (different) generic types as return values are treated as different
|
2 miesięcy temu |
florian
|
4a4eadc60e
* throw an error if varargs is used without appropriate calling conventions, resolves #40342
|
1 rok temu |
Pierre Muller
|
e7f9626592
Be sure not to add a symbol with empty name as an alias for function return variable
|
1 rok temu |
florian
|
b32573d1eb
* inserting $result into the symtables should never trigger a duplicate symbol error, resolves #40608
|
1 rok temu |
Sven/Sarah Barth
|
f721210638
* fix #40142 and #40324: don't alias the function name to the $result variable for anonymous functions unless an explicit result name is provided
|
2 lat temu |
Sven/Sarah Barth
|
d5a538b590
* ensure that the functions that insert the hidden parameters (function result, open array high parameters, etc.) are idempotent
|
2 lat temu |
Sven/Sarah Barth
|
4510945465
* fix #40062: ensure that Self is only added to anonymous functions when dealing with method pointers
|
3 lat temu |
florian
|
e142953c6d
* make the hidden high parameter for short strings a byte for 8 bit CPUs
|
3 lat temu |
Sven/Sarah Barth
|
749faa42ee
* do not insert the $result symbol again when the VMT for the capturer is built
|
3 lat temu |
Sven/Sarah Barth
|
2be8f01efe
* implement assignment of anonymous functions to procedure or method variables if they either capture nothing or (in case of method variables) at most the Self variable
|
4 lat temu |
Sven/Sarah Barth
|
90eabdd6b4
* ensure insert_self_and_vmt_para can deal with a preexisting self symbol as long as it has the expected type
|
3 lat temu |
Sven/Sarah Barth
|
39f5534969
* adjust handle_calling_convention so that it can be used with both proc(var)defs and invokables
|
3 lat temu |
Pierre Muller
|
5acd7a7b83
Rename tsymtable.insert and delete methods to insertsym ands deletesym
|
3 lat temu |
nickysn
|
ea5ffd597f
* set self to nil in current_module.deflist for registered defs in the
|
4 lat temu |
nickysn
|
d8f02107a1
* avoid leaving a dangling pointer in pparautl.proc_add_definition to prevent
|
4 lat temu |
svenbarth
|
848ec1d219
* allow overloads with same result type for external Java classes due to Java supporting covariant return types for interfaces
|
5 lat temu |
svenbarth
|
b62045809d
* reject overloads if they only differ in the result types (as long as they aren't operator overloads)
|
5 lat temu |
svenbarth
|
febeef03e4
* for adding procdefs to forwarddefs check for the specialization flag instead of whether it's a full specialization; fixes implicit finalization handlers on x86_64-win64 not being found
|
5 lat temu |
yury
|
627fcb4354
* Do not use the LOC_VOID location to indicate unused parameters.
|
5 lat temu |
yury
|
30e61067a0
* It is needed to mark $parentfp as used for all targets.
|
5 lat temu |
yury
|
2808873d1b
* Reworked the optimization of unused $parentfp for nested routines.
|
5 lat temu |
svenbarth
|
60345366f2
* fix for Mantis #35140: apply patch by Ryan Joseph together with some further changes by me to add support for constant parameters in generics
|
5 lat temu |
Jonas Maebe
|
3188dc18d4
* fixed tdel1/2 tests again for AArch64/LLVM
|
5 lat temu |
svenbarth
|
2ad3c6dd97
* fix global generic functions with constraints in mode Delphi by handling implementations with defines outside of parse_generic_parameters
|
5 lat temu |
svenbarth
|
147559349b
* fix for Mantis #36652: gracefully handle the error if one tries to implement a method of a type from another unit
|
5 lat temu |
joost
|
11784cb76a
* Fixed safecall on win32 with -Ooregvar by making sure that $safecallresult
|
6 lat temu |
Jonas Maebe
|
e775ecdc43
* cleaned up safecall support: use a hidden localvarsym instead of result
|
6 lat temu |
Jonas Maebe
|
a051b8d225
- remmoved doregister parameter from t*sym constructors, as the registration
|
6 lat temu |
Jonas Maebe
|
d8903ce6b3
- removed maxcrecordalign parameter/field from recordsymtables, as this value
|
6 lat temu |
Jonas Maebe
|
281b3ad276
* fix case completeness and unreachable code warnings in compiler that would
|
6 lat temu |