Elias Holzer
|
474f82b513
|
Added support for explicit conversion operators and added new pass which will create implicit and explicit conversion operators out of single argument constructors.
Conflicts:
src/Generator/Passes/CheckAmbiguousFunctions.cs
src/Generator/Passes/CheckOperatorsOverloads.cs
|
12 years ago |
marcos henrich
|
0416a35e8d
|
Added CheckIgnoreProperty to AST/Utils.cs. Changed CheckIgnoreField to handle value class fields declared in linked assemblies.
|
12 years ago |
marcos henrich
|
3f96bdbfe3
|
Replaced declaration IgnoreFlags by GenerationKind. Added methods IsInternal and IsDeclared to declaration. Replaced IsGenerated = true by GeneratioKind = GeneratioKind.Internal. Deprecated Ignore, replace Ignore set by ExplicityIgnored, replace Ignore get by IsGenerated, IsInternal or IsDeclared.
Conflicts:
src/Generator/Passes/CheckOperatorsOverloads.cs
|
12 years ago |
triton
|
4a98f69df5
|
Added an explicit option to generate copy constructors.
|
12 years ago |
marcos henrich
|
a170d1b09a
|
Ignore copy constructor if a base class don't has or has a private copy constructor
|
12 years ago |
Øystein Krog
|
d3e963ff19
|
Move helper methods in Type out from class and into extension class TypeExtensions
|
13 years ago |
Dimitar Dobrev
|
fee1809ca5
|
Wrapped copy constructors.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
24a8db6a32
|
Fixed the generation of internal implementations of abstract classes to actually work.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
be34899fc5
|
Added tests for v-tables checking calls to virtuals from within C++ and passing parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
triton
|
8a54d30917
|
Fixed a bug in ASTRecord that made us infinitely recurse in some code.
Basically we should not visit a declaration if we are visiting from a type.
|
13 years ago |
triton
|
f0cb4b4c51
|
Reworked the ASTRecord functionality.
|
13 years ago |
triton
|
7bf1ce39d6
|
Removed unused using namespaces.
|
13 years ago |
Dimitar Dobrev
|
88d5192684
|
Wrapped conversion (cast) operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
348c3db122
|
Fixed the v-table interop to be compilable.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
de8b3fc00e
|
Corrected the checks for private methods because overrides must be allowed through regardless of access.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
1c793ef589
|
Commented the pass about internal impls of abstract classes. Cosmetic fixes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
816c946790
|
Added a hard-coded for the time being option indicating whether the wrapped lib is 32-bit and used that option to generate the v-table offsets.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
Dimitar Dobrev
|
463864e71c
|
Moved the generation of a virtual table call to a separate function, for independence on back-ends.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
triton
|
701734388c
|
Added a ToString() method to ASTRecord to get better debug output.
|
13 years ago |
triton
|
94d58399dd
|
Removed some unused debugging code.
|
13 years ago |
Dimitar Dobrev
|
e0a3cde7a4
|
Generated protected methods and fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
13 years ago |
triton
|
02559ed193
|
Added better support for unary operators.
|
13 years ago |
triton
|
a4f1606956
|
Added better support for unary operators.
|
13 years ago |
triton
|
c8abdeb192
|
Cleaned up operator overload helpers.
|
13 years ago |
triton
|
014e141bc4
|
Added missing vtable generation support code.
|
13 years ago |
marcos henrich
|
57ce9d449d
|
Removed class parameter from CheckIgnoreFunction, CheckIgnoreMethod and CheckIgnoreField.
|
13 years ago |
marcos henrich
|
fdd7075c53
|
Added ASTRecordCollector, it can be backtrack from where each declaration and type was visited.
|
13 years ago |
triton
|
0a7656e257
|
Fix the build.
|
13 years ago |
triton
|
cb85d8ead3
|
Move some helper functions out of the template and into an helpers class.
|
13 years ago |
triton
|
e57c435426
|
Fixed some incorrect behavior with nested types in the CheckAmbiguousOverloads pass by fixing GetFunctionOverloads to be dynamically dispatched instead of using some weird manual type checking.
|
13 years ago |
triton
|
46d9978401
|
Class helper methods now return proper lazy IEnumerable<> instead of converting right away to lists.
|
13 years ago |
triton
|
cc8f7cd1db
|
Renamed Cxxi references to CppSharp.
|
13 years ago |
triton
|
99ab98c884
|
Added a new pass that checks for ambiguous function/method overloads.
|
13 years ago |