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.
|
12 anni fa |
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.
|
12 anni fa |
sergei
|
c558991d8f
* Implicitly use Variants unit when (ole)Variant type appears as a function/operator result and nowhere else. Mantis #24863.
|
12 anni fa |
pierre
|
91bc424694
Fix bug report 24612:
|
12 anni fa |
florian
|
37df6f6455
* nostackframe now results in an error if used on pascal subroutines
|
12 anni fa |
svenbarth
|
8353d53b69
Fix for Mantis #22433.
|
12 anni fa |
svenbarth
|
376bd046aa
Don't allow "static" for class operators or normal methods (except in objects).
|
12 anni fa |
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.
|
12 anni fa |
svenbarth
|
cca897cfd3
Fix a memory leak spotted by Blaise Thorn
|
12 anni fa |
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...
|
12 anni fa |
florian
|
04543b179f
o merge of the branch laksen/arm-embedded of Jeppe Johansen:
|
13 anni fa |
pierre
|
be5839e44a
Add warning/error message about possible problems with nostackframe modifier
|
13 anni fa |
Jeppe Johansen
|
8b17a358e4
Remove all traces of the interrupt vector table generation mechanism
|
13 anni fa |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
13 anni fa |
Jonas Maebe
|
fe90823b01
* support the "overload" modifier for Objective-C methods
|
13 anni fa |
florian
|
3a6446e6d1
* address parameters must be vr_addr regable
|
13 anni fa |
Jonas Maebe
|
01b5e2b6f6
* use the parsed node type for checking the validity of default parameter
|
13 anni fa |
Jonas Maebe
|
aad3ce960a
* give an error when trying to give a parameter of a non-simple type a
|
13 anni fa |
florian
|
eb1efdff8a
+ introduce cstylearrayofconst because pocall_mwcall was forgotten at several places
|
13 anni fa |
Jonas Maebe
|
adf66eed8b
* don't turn constref shortstring parameters into openstrings (they can't
|
13 anni fa |
svenbarth
|
75bf094e3f
Fix for Mantis #21064.
|
13 anni fa |
svenbarth
|
7dfaec7a05
Fix for Mantis #21457
|
13 anni fa |
Jonas Maebe
|
50659b7e7f
* give an error if a routine definition defines default values for
|
13 anni fa |
florian
|
6c8eed21c4
+ implement auto inlining (-Ooautoinline)
|
13 anni fa |
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
|
13 anni fa |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 anni fa |
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
|
13 anni fa |
Jonas Maebe
|
3589f90cf8
* also show the valid bounds in most cases when signalling a range check
|
13 anni fa |
paul
|
d752ce2c11
compiler:
|
13 anni fa |
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).
|
13 anni fa |