Sven/Sarah Barth
|
e8fcc5343b
* use new chartype_for_stringlike function to retrieve the char type for a stringlike def instead of casting to a stringdef
|
2 years ago |
Jonas Maebe
|
a641860fa8
Implicit specialisation: use regular array parameters for array constructors
|
2 years ago |
Sven/Sarah Barth
|
f0e31628ad
* ensure that hmodule is initialized correctly
|
2 years ago |
Sven/Sarah Barth
|
e050a019a2
* fix #29859: ensure that it's correctly passed down into generate_specialization whether a unit name was provided for the specialization and if so search the generic only in that unit
|
2 years ago |
florian
|
3fa77a4f62
* fix life information propagation for while loops, resolves #39971
|
2 years ago |
Sven/Sarah Barth
|
61debb1559
* fix #39869: correctly check whether the recorded token stream still needs to be parsed (the replay depth of the scanner needs to be *larger* than what it was before starting the playback)
|
3 years ago |
Sven/Sarah Barth
|
b2a5334a75
* fix #39795: when extracting make_prettystring it was forgotten to also append the const part of the name to the specialize name
|
3 years ago |
Sven/Sarah Barth
|
897f0e1784
* if a symbol is not part of a symtable then assume it's from the current module
|
3 years ago |
Sven/Sarah Barth
|
b5ab81c983
* an internal definition in a specialization might not have a genericdef
|
3 years ago |
Sven/Sarah Barth
|
533a11ec80
* correctly handle calling convention for function references
|
3 years ago |
Sven/Sarah Barth
|
06a00b53c3
* also handle function references when a generic one had been parsed
|
3 years ago |
Sven/Sarah Barth
|
ec96d4242a
* check hierarchy of the current generic or specialization def independant of whether it's a record- or objectdef
|
3 years ago |
Sven/Sarah Barth
|
f02fc4fe0f
* move checking for a def in the hierarchy to a separate nested function and use it to check the hierarchy of the current def being specialized as well
|
3 years ago |
Sven/Sarah Barth
|
7de854ef1e
+ add method register_implemented_interface to tobjectdef which registers an implemented interface and - if desired - also initializes the GUID related fields of the objectdef
|
3 years ago |
Sven/Sarah Barth
|
eaeb614887
+ provide a tsym based variant of ChangeOwnerAndName
|
3 years ago |
Sven/Sarah Barth
|
acee4eb27a
- apply patch by Blaise.ru: pdflags are no longer required in generate_specialization_phase2() after parse_proc_directives() was done, so remove its unused modification after that call
|
3 years ago |
Sven/Sarah Barth
|
9c9c6cc81b
* apply patch by Blaise.ru:
|
3 years ago |
Sven/Sarah Barth
|
542c3f0c4c
* use tproc_parse_flags in parse_proc_dec_finish as well
|
4 years ago |
Sven/Sarah Barth
|
9664ad4138
* use tparse_proc_flags for parse_proc_head as well
|
4 years ago |
Sven/Sarah Barth
|
6a6a17717a
+ add a new symoption for symbols created for nameless types during implicit function specialization so that they can be recognized
|
3 years ago |
Pierre Muller
|
5acd7a7b83
Rename tsymtable.insert and delete methods to insertsym ands deletesym
|
3 years ago |
Sven/Sarah Barth
|
22a4cc66ec
* fix #39675: consider the symbols for unnamed parameters as used so that there won't be unnecessary hints about them
|
3 years ago |
Sven/Sarah Barth
|
76753438ed
* fix #39681: also handle the result type of a specialized procvar when checking for a possible implicit specialization
|
3 years ago |
Sven/Sarah Barth
|
c0fa45dc92
* a function can't be used to implicitely specialize a specialized procedure variable parameter and vice versa
|
3 years ago |
Sven/Sarah Barth
|
a5f3040da5
* the index of the generic type parameter is not the same index of the paras list
|
3 years ago |
Sven/Sarah Barth
|
66bac7c415
* fix #39679 and fix #39680: for implicit specializations a parameter used in a call might also inherit in some depth from a specialization used as parameter type
|
3 years ago |
Sven/Sarah Barth
|
90844c2027
* fix #35261: apply slightly adjusted changes by Ryan Joseph to implement support for implicit generic function specializations
|
3 years ago |
Sven/Sarah Barth
|
2a5023508a
+ add support for forward declarations of generic classes and interfaces (any implicit pointer type really); fixes #34128
|
3 years ago |
Sven/Sarah Barth
|
7f1e420bb0
* move determine_generic_def out from pdecl.types_dec to pgenutil
|
3 years ago |
florian
|
e4ee8fa6a2
* patch by Rika to pass some strings by reference, resolves #39338
|
3 years ago |