Dimitar Dobrev
023389666f
Disabled the test for non-public access in order not to break the build because the C++/CLI back-end does not support protected members yet.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
763ce63bca
Restored the protected field used to test access modifiers of properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
2f7934569e
Added tests for overrides changing access and for protected fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
496d323e65
Updated the test code for abstract impls woth more pure functions. However, the test now fails so it is ignored for the time being.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
4cfcfa1b16
Corrected the implementation of abstract methods to properly handle classes, instance arguments and indirect return types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
9752096a4c
Fixed a bug in MS mode and added a test.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
06e69225b9
Implemented the MS branch of the abstract implementations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
6d2c0eaed8
Generated internal implementations of abstract classes in a new pass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
c66c34d4a9
Renamed the CLI language generator kind to be more uniform.
12 years ago
triton
871a05511c
Added a new pass that checks for ambiguous overloads.
12 years ago
triton
caeb1d2f67
Added new pass CheckVirtualOverrideReturnCovariance that checks if a pair of return types in overriden methods are covariant according to the C++ standard.
12 years ago
triton
279c9c83cf
Fixed wrapping of null pointers to actually return null CLR references.
12 years ago
Dimitar Dobrev
bb07a294f4
Ignored private types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
3f7790c67d
Fixed the incorrect C++ in the tests for left shift operators. The test still fails, though, now C is always 0.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
02559ed193
Added better support for unary operators.
12 years ago
triton
a4f1606956
Added better support for unary operators.
12 years ago
Dimitar Dobrev
d9bc5bec86
Extended the check for duplicate names to ignore repeated operators since they cannot be renamed. Added an ignored test for an unrelated run-time issue.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
fc1637f532
Added a test for free functions with an indirect return type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
cc77397461
Converted const wchar_t* to string.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
734b1377f0
Fixed the wrapping of functions taking a function pointer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
d659f04d9d
Generated compilable wrappers for functions taking char*.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
8c0c76ca59
Reworked operator overloading support.
12 years ago
Dimitar Dobrev
3caecadbbe
Added a union to the test header to check for compilable generated union wrappers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
bf2dfd375c
Fixed the "ret" conflict in the CLI back-end as well.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
ca0e67529e
Added a compilation test for the class member of a nested type - that is, when &IntPtr code is generated.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
0c1240d97e
Added a compilation test for a free function with a class parameter named "ret".
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
b41b5c6459
Fixed virtual tables tests.
12 years ago
triton
257e34b5b8
Fixed test.
12 years ago
triton
523e8d7989
Fixed issue with signed enum constants with tests.
12 years ago
triton
a5603e3345
Renamed CppSharp_API to DLL_API.
12 years ago
triton
e0903d8fac
Added virtual table tests.
12 years ago
triton
d9eb2f5b3e
Renamed Hello tests to Basic.
12 years ago
triton
68ddfbdd6f
Move the AST project to the CppSharp.AST namespace.
12 years ago
Tom Spilman
813df56870
Fixed stray class keyword in enum causing a C++ syntax error.
12 years ago
Tom Spilman
46a245fd50
Fix to test Hello.cs.
12 years ago
triton
d0fb96121d
Change the ILibrary methods to take a driver instance.
12 years ago
triton
cc8f7cd1db
Renamed Cxxi references to CppSharp.
12 years ago
triton
e51a6ffa66
Added more tests to enum support.
12 years ago
triton
e8ce0db9be
Added integration tests that generate and run wrapping code for both the CLI and C# backend.
12 years ago
triton
b31762963c
Moved the Hello test to /tests.
13 years ago
triton
9d1689a382
Removed obsolete build/readme files.
13 years ago
triton
2c90cd47e0
Update the passes test source file.
13 years ago
triton
82508bff14
Added the missing enum macros needed for testing the latest commit.
13 years ago
triton
2a4c3481d1
Added some tests for passes.
13 years ago
triton
6fc5eb48e3
Added a set of tests for type printing in the C++/CLI backend.
13 years ago
Alex Corrado
4561c6182c
Move qt into examples directory and don't build examples by default. Fix tests build
14 years ago
Alex Corrado
8f2dbdc3ae
Remove more bitrot to fix the build
14 years ago
Alexander Corrado
bf12d1cd84
Mangling support for namespaces; generate MangleAs attribute on interfaces
14 years ago
Alexander Corrado
d1231ca335
Stub in mangling tests with a failing Itanium compression test case.
14 years ago
Alexander Corrado
ec4699bed2
Test when an inherited virtual member is overridden and listed in a derived class's interface definition
...
This was causing problems because the method is not repeated in the primary vtable (it shows up in the position expected by the base class), but CppAbi does not know that it is inherited until after the impl has been emitted, so it emits the index that it is listed in the derived class.
Note that the generator only does this with virtual destructors (since we never call these virtually).
14 years ago