svenbarth
|
8353d53b69
Fix for Mantis #22433.
|
12 years ago |
svenbarth
|
376bd046aa
Don't allow "static" for class operators or normal methods (except in objects).
|
12 years ago |
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 years ago |
svenbarth
|
cca897cfd3
Fix a memory leak spotted by Blaise Thorn
|
12 years ago |
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 years ago |
florian
|
04543b179f
o merge of the branch laksen/arm-embedded of Jeppe Johansen:
|
12 years ago |
pierre
|
be5839e44a
Add warning/error message about possible problems with nostackframe modifier
|
13 years ago |
Jeppe Johansen
|
8b17a358e4
Remove all traces of the interrupt vector table generation mechanism
|
13 years ago |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
13 years ago |
Jonas Maebe
|
fe90823b01
* support the "overload" modifier for Objective-C methods
|
13 years ago |
florian
|
3a6446e6d1
* address parameters must be vr_addr regable
|
13 years ago |
Jonas Maebe
|
01b5e2b6f6
* use the parsed node type for checking the validity of default parameter
|
13 years ago |
Jonas Maebe
|
aad3ce960a
* give an error when trying to give a parameter of a non-simple type a
|
13 years ago |
florian
|
eb1efdff8a
+ introduce cstylearrayofconst because pocall_mwcall was forgotten at several places
|
13 years ago |
Jonas Maebe
|
adf66eed8b
* don't turn constref shortstring parameters into openstrings (they can't
|
13 years ago |
svenbarth
|
75bf094e3f
Fix for Mantis #21064.
|
13 years ago |
svenbarth
|
7dfaec7a05
Fix for Mantis #21457
|
13 years ago |
Jonas Maebe
|
50659b7e7f
* give an error if a routine definition defines default values for
|
13 years ago |
florian
|
6c8eed21c4
+ implement auto inlining (-Ooautoinline)
|
13 years ago |
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 years ago |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 years ago |
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 years ago |
Jonas Maebe
|
3589f90cf8
* also show the valid bounds in most cases when signalling a range check
|
13 years ago |
paul
|
d752ce2c11
compiler:
|
13 years ago |
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 years ago |
Jonas Maebe
|
0d5b2b84a8
+ Android/JVM target, including a translation of the Android r14 SDK
|
13 years ago |
florian
|
20b1e3af78
Merging of generics branch of Sven Barth
|
13 years ago |
sergei
|
270fc39432
* An open array/array of const parameter passed by value and requiring a local copy on heap (currently all targets except non-Darwin i386 ones) should not be placed into register and should force procedure to have an implicit finally block.
|
13 years ago |
svenbarth
|
4419dc3d34
Rebase to revision 19673
|
13 years ago |
svenbarth
|
461d231daa
Rebase to revision 19078 (directly before the merge of cpstrnew)
|
13 years ago |