florian
|
6f03d04fe1
* when using a pointer as array, the pointer is never written, only read
|
11 years ago |
svenbarth
|
798bb91e90
Extract tdef.is_related plus its overrides in tobjectdef, trecorddef and tstringdef into a new function def_is_related in unit defcmp.
|
11 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 |
florian
|
b43b4bb455
+ pseudo procedure aligned: tells the compiler to assume that the given parameter is naturally aligned, counterpart of unaligned
|
12 years ago |
florian
|
728c074bd6
* accept with statements with generic variables having a generic parameter type, resolves #21329
|
12 years ago |
Jonas Maebe
|
fd8827d379
* prevent compiler crash caused by double freeing after reporting not
|
12 years ago |
Jonas Maebe
|
76b0ee9925
* treat all "uninitialized" hints as warnings on JVM platforms, because
|
13 years ago |
Jonas Maebe
|
5ea03973d3
* reject assignments to vecn[rangen] (mantis #22941)
|
13 years ago |
florian
|
ca5fabda6d
* cleanup some unused units from uses clauses
|
13 years ago |
pierre
|
1550c623c3
Avoid memory leak in isbinaryoverloaded function
|
13 years ago |
Jonas Maebe
|
3b968b4b35
* don't allow overloading enum/int operations, because they should be
|
13 years ago |
Jonas Maebe
|
cf4a2bd392
* fixed java.lang.String and Pascal string comparisons after operator
|
13 years ago |
Jonas Maebe
|
f3ad4af343
* make sure valid_for_assign() returns false for inlined function bodies
|
13 years ago |
svenbarth
|
360592d1f4
Some corrections after the loosening of operator overloads:
|
13 years ago |
svenbarth
|
b0458b55a3
Loosen the restriction regarding operator overloads by applying a (modified) patch from JC Chu. This fixes Mantis #22359.
|
13 years ago |
Jonas Maebe
|
fdbe35aadf
* only try to call procvars while choosing overloads in case they don't
|
13 years ago |
Jonas Maebe
|
12553a9367
* don't give -CO warnings or hints for ordinal constants, because those
|
13 years ago |
Jonas Maebe
|
95b8b95c9c
* fixed (harmless) class cast error
|
13 years ago |
Jonas Maebe
|
834026bfb5
* synchronised with trunk up to r21067
|
13 years ago |
paul
|
a26bc50ca6
compiler: change ShortString->(Some)String and AnsiString->(Some)String overload precedence both for variables and string constants, change unicode constant type from widestring to unicodestring (Delphi compatibility)
|
13 years ago |
Jonas Maebe
|
5f3db3c1ba
* if we assign something to a record field whose type is not regable by
|
13 years ago |
paul
|
b80e7c8fba
compiler: change candidates search preference for variant arguments based on testing delphi XE + fixing tests
|
13 years ago |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 years ago |
florian
|
ce845bf97c
* introduction of in_generic in r20699 was unneeded, replaced by parse_generic
|
13 years ago |
florian
|
79a77ae7d6
+ in_generic for testing if currently a generic declaration/definition is parsed/record
|
13 years ago |
svenbarth
|
bd19a16be9
Add support for Default() intrinsic. For now this is only (fully) supported
|
13 years ago |
paul
|
2499b5514f
compiler: change overload search for char constants (for delphi compatibility):
|
13 years ago |
Jonas Maebe
|
e5c097a6e2
* mark nodes that have been created by transforming a read-accessor of
|
13 years ago |
Jonas Maebe
|
0d5b2b84a8
+ Android/JVM target, including a translation of the Android r14 SDK
|
13 years ago |
florian
|
6ec0f2549a
* factored load node flags out of node flags to gain space
|
13 years ago |