Jonas Maebe
|
f402b0d7df
* changed getpointerdef() into a tpointerdef.getreusable() class method
|
пре 10 година |
Jonas Maebe
|
25e6eaf07f
* store the to be used recordalignmin and maxcrecordalign settings inside
|
пре 10 година |
svenbarth
|
5a344ee263
Rework the way how "specialize" is handled. Instead of initializing the specialization of a full type declaration (including unit name and parent types) it is now considered part of the specialized type itself. This means that for example the following code:
|
пре 10 година |
Jonas Maebe
|
146e3bcb9e
* synchronised with trunk till r29513
|
пре 10 година |
Jonas Maebe
|
e97f31541e
- reverted partial commit of merge
|
пре 10 година |
Jonas Maebe
|
a76bbf363d
* synchronised with trunk r29513
|
пре 10 година |
svenbarth
|
a4e8f00399
Allow the usage of type aliases of generic type parameters outside of the generic. Besides being useful by itself it will also be needed in the future when the visibility of the type parameters is changed from public to strict private.
|
пре 10 година |
nickysn
|
c3a58bf5a8
* fixed indentation in ptype.expr_type. Prevously it looked like the 'if' is
|
пре 11 година |
Jonas Maebe
|
c730e16031
* changed the syntax for block procvars from "xxx is block" to
|
пре 11 година |
Jonas Maebe
|
bd09b88a5b
+ support for http://en.wikipedia.org/wiki/Blocks_(C_language_extension)
|
пре 11 година |
svenbarth
|
aca48a4cf2
Fix for Mantis #26288. Types declared inside a generic must have the df_generic flag set. Period.
|
пре 11 година |
svenbarth
|
1bbcc08a8b
Fix for Mantis #26176. Don't handle "type helper" as unique.
|
пре 11 година |
svenbarth
|
639a59df92
Added support for partial specialization. This should fix a few problems with generics, the tests for which will be added in the next days after I've verified them.
|
пре 11 година |
svenbarth
|
b0670ee34c
Fix for Mantis #25600.
|
пре 11 година |
svenbarth
|
b9a59c33f4
Fix for Mantis #25915.
|
пре 11 година |
Jonas Maebe
|
b57c95043f
+ support overriding tdef/tsym methods with target-specific functionality:
|
пре 11 година |
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 година |
florian
|
4d5119bf1c
* fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables
|
пре 11 година |
paul
|
1c578de28c
compiler:
|
пре 12 година |
Jonas Maebe
|
9619ed8b4b
- undo hack from r25713
|
пре 12 година |
svenbarth
|
fb8b0e7a27
Fix for Mantis #24453. Check for nested types after a specialization. Additionally check correctly whether a type is really a generic before accepting it when parsing a generic.
|
пре 12 година |
svenbarth
|
9d48bc0baf
Implement cross unit type overloading of generics. This fixes the regression introduced with revision 25498.
|
пре 12 година |
paul
|
115ddf4364
compiler: modernize exception class parse:
|
пре 12 година |
florian
|
0e41df598e
* merge i8086 branch by Nikolay Nikolov
|
пре 12 година |
sergei
|
d54d38b4ab
* Moved all code responsible for writing VMTs and interface wrappers (nobj.TVMTWriter, ncgutil.gen_intf_wrappers, ptype.write_persistent_type_info) into a new unit ncgvmt.pas.
|
пре 12 година |
florian
|
2fdd3e2d0a
+ introduce tvariantrecbranch to be able to store
|
пре 12 година |
florian
|
1f978ba9fe
* 16 bit targets cannot use Word and Longint as array index
|
пре 12 година |
svenbarth
|
489e038379
Disallow "protected" and "strict protected" in extended records (Delphi compatible).
|
пре 12 година |
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 година |
paul
|
7c663af588
compiler: also don't allow record constructors with only default arguments
|
пре 12 година |