paul
|
1b81afcd42
compiler: allow to hide parent function identifier inside them (by a nested function with the same name or by a local variable). Fixes mantis #0024129.
|
hace 12 años |
sergei
|
d11ec8ac47
- Reverted r25269 and commented out r25261. The former one is wrong because it changes unit initialization order. The latter one causes RTL build failures on some targets, needs testing and likely RTL/makefiles patching.
|
hace 12 años |
sergei
|
c558991d8f
* Implicitly use Variants unit when (ole)Variant type appears as a function/operator result and nowhere else. Mantis #24863.
|
hace 12 años |
pierre
|
91bc424694
Fix bug report 24612:
|
hace 12 años |
florian
|
37df6f6455
* nostackframe now results in an error if used on pascal subroutines
|
hace 12 años |
svenbarth
|
8353d53b69
Fix for Mantis #22433.
|
hace 12 años |
svenbarth
|
376bd046aa
Don't allow "static" for class operators or normal methods (except in objects).
|
hace 12 años |
svenbarth
|
168c9d152f
Small optimization for the search of operator overloads. Add a flag "sto_has_generic" to all symtables that contain an operator overload (the flag propagates up the owning symtables) and check this flag when searching for units with operators.
|
hace 12 años |
svenbarth
|
cca897cfd3
Fix a memory leak spotted by Blaise Thorn
|
hace 12 años |
svenbarth
|
4adb36e8da
Add support for generic type constraints. They are currently only useful to stop specialization of a generic. The parsing of a generic is still too lax and needs to be changed in the future...
|
hace 12 años |
florian
|
04543b179f
o merge of the branch laksen/arm-embedded of Jeppe Johansen:
|
hace 13 años |
pierre
|
be5839e44a
Add warning/error message about possible problems with nostackframe modifier
|
hace 13 años |
Jeppe Johansen
|
8b17a358e4
Remove all traces of the interrupt vector table generation mechanism
|
hace 13 años |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
hace 13 años |
Jonas Maebe
|
fe90823b01
* support the "overload" modifier for Objective-C methods
|
hace 13 años |
florian
|
3a6446e6d1
* address parameters must be vr_addr regable
|
hace 13 años |
Jonas Maebe
|
01b5e2b6f6
* use the parsed node type for checking the validity of default parameter
|
hace 13 años |
Jonas Maebe
|
aad3ce960a
* give an error when trying to give a parameter of a non-simple type a
|
hace 13 años |
florian
|
eb1efdff8a
+ introduce cstylearrayofconst because pocall_mwcall was forgotten at several places
|
hace 13 años |
Jonas Maebe
|
adf66eed8b
* don't turn constref shortstring parameters into openstrings (they can't
|
hace 13 años |
svenbarth
|
75bf094e3f
Fix for Mantis #21064.
|
hace 13 años |
svenbarth
|
7dfaec7a05
Fix for Mantis #21457
|
hace 13 años |
Jonas Maebe
|
50659b7e7f
* give an error if a routine definition defines default values for
|
hace 13 años |
florian
|
6c8eed21c4
+ implement auto inlining (-Ooautoinline)
|
hace 13 años |
svenbarth
|
4fc7515591
* pdecsub.pas, parse_proc_dec: always parse operator overload heads as block type bt_body so that operators like ">", "=>" or "<>" are resolved to the correct tokens ("<>" would be a sequence of "_LSHARPBRACKET _RSHARPBRACKET" instead of _NE otherwise). Fixes Mantis #21127
|
hace 13 años |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
hace 13 años |
florian
|
f4af507321
* inline is only a hint to the compiler which might be ignored so throw only a hint and not a warning if subroutine cannot be inlined
|
hace 13 años |
Jonas Maebe
|
3589f90cf8
* also show the valid bounds in most cases when signalling a range check
|
hace 13 años |
paul
|
d752ce2c11
compiler:
|
hace 13 años |
sergei
|
898fbdcd26
* Disallow placing hidden 'high' parameter in register if it will be accessed from implicit finally block (happens for <value open array of managed type> parameters).
|
hace 13 años |