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