Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
11 years ago |
svenbarth
|
ddb78fefdc
Add a modeswitch for type helpers as discussed in core on 24th October 2013. It is disabled by default in all modes (afterall type helper support in Delphi started only beginning with XE3)
|
11 years ago |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
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
|
76f6de5cf1
Refactor tobjectdef.find_implemented_interface out into unit defcmp so that the recently introduced cycle between symdef and defcmp can be broken again.
|
11 years ago |
svenbarth
|
d91d4afb0f
Fix for Mantis #25210 .
|
11 years ago |
florian
|
2fdd3e2d0a
+ introduce tvariantrecbranch to be able to store
|
12 years ago |
Jonas Maebe
|
3a03586ca9
* give an error when declaring a class as conforming to a forward-declared
|
12 years ago |
svenbarth
|
344571cb4e
Added support for type helpers. In non Delphi modes they use "type helper" and in mode Delphi they use "record helper". They can also be used on constants.
|
12 years ago |
paul
|
7c663af588
compiler: also don't allow record constructors with only default arguments
|
12 years ago |
paul
|
1b8369dd99
compiler: don't allow parameterless constructors
|
12 years ago |
paul
|
e9615716c1
compiler: allow constructors in helpers for records
|
12 years ago |
paul
|
1508fd427d
compiler: handle calling convention of record (class)constructors/destructors later as it is done with other record methods
|
12 years ago |
Jonas Maebe
|
3798b79fd7
+ optimization that (re)orders instance fields of Delphi-style classes in
|
13 years ago |
svenbarth
|
d2fabd2a22
Fix for Mantis #21350
|
13 years ago |
svenbarth
|
7dfaec7a05
Fix for Mantis #21457
|
13 years ago |
svenbarth
|
dbc410de63
Allow the usage of a generic's name without type arguments inside of nested classes inside the generic. This fixes Mantis #19499, but also Mantis #18688.
|
13 years ago |
Jonas Maebe
|
0fd9228deb
* extended r21290 to also apply to Java interfaces (they can also contain
|
13 years ago |
paul
|
4312aa4e08
compiler: allow compiler to find real class definition during class members parse to handle references to self constants + test
|
13 years ago |
svenbarth
|
7ebbebc877
- removed a duplicated include statement
|
13 years ago |
Jonas Maebe
|
6850653296
* replaced "set1<=set2" expression with "(set1*set2)=set1", because the
|
13 years ago |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
13 years ago |
svenbarth
|
a28a9a9521
* pdecobj.pas, object_dec:
|
13 years ago |
Jonas Maebe
|
0d5b2b84a8
+ Android/JVM target, including a translation of the Android r14 SDK
|
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 |
Jonas Maebe
|
2d7e674168
* fixed error in r19248 whereby the namespace for automatically generated
|
13 years ago |
svenbarth
|
988c799b0e
generate_specialization needs to return the correct generic def if the parent classes are parsed, so that that the usage of generic interfaces is allowed.
|
14 years ago |
svenbarth
|
d54b7dd58f
Added two reminders for me
|
14 years ago |
florian
|
df75368d0b
--- Merging r19281 into '.':
|
14 years ago |