Dimitar Dobrev
56b02cfcf9
Converted to 0 default expressions calling an empty ctor of a type mapped to an enum.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
51464010fd
Fixed compilation of comment blocks by using static_cast for casting instead of LLVM casts.
10 years ago
Dimitar Dobrev
0930360cd5
Ensured conversion operators from primitive pointers pass the correct values.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
76ea3158df
Prevented conversion operators from getting ref params.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
a7c6747e72
* Revert "Fixed namespace conflict in C++/CLI."
...
This reverts commit 0fa18a9f62
.
Unfortunately MS's C++/CLI compiler seem to have a bug handling operator overloads with global qualified types. Rever this for now until we figure out a workaround.
10 years ago
Dimitar Dobrev
78c3db80aa
Fixed incompilable code when a virtual function has ref params.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
0fa18a9f62
Fixed namespace conflict in C++/CLI.
...
Closes #533 .
Related:
https://github.com/mono/CppSharp/pull/520 cf472f526c
10 years ago
Abhinav Tripathi
dd941d9191
Added marshalling of primitive ptrs to ref type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
c8da628782
Fixed the renaming of overrides in a certain situation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
cd3e729d38
Restored support for full comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
a37f104262
Ignore std::shared_ptr while our template support is not yet finished.
10 years ago
triton
5ef03e1269
Fixed SetMethodParameterUsage to use complete class declarations.
10 years ago
triton
711292860c
Skip enum item from macro if enum already contains an item with same name.
10 years ago
triton
dcfe9e39a1
Improve debug string representation of MacroDefinition.
10 years ago
Dimitar Dobrev
b6c16051af
Fixed the wrapping of mapped types with operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
59de162056
Skipped already visited functions in the pass for finding symbols.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
f298a792ee
Improved the cloning of types by internally using copy constructors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
54caddeed1
Cloned types when changing them to interfaces for multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
b09d5a897e
Optimised the pass for fixing invalid names by skipping already visited decarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Pedro Miguel Casaleiro Dias
ed3e0bd54a
closes #514 .
...
test added to tests/CSharpTemp/CSharpTemp.Tests.cs
10 years ago
Dimitar Dobrev
32a49086ac
A cosmetic fix in the new type map for FILE.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
cf472f526c
Fixed C++/CLI to handle namespace conflicts between free functions and namespaces.
...
We generate free functions inside a global namespace-level class with the same name as the header. This means that there might be some conflict if we already have a class with the same name as the header. This fix changes the code to always fully quality classes so the code always compiles correctly.
10 years ago
Dimitar Dobrev
bbcf12550f
Prevented a crash in the tests on Mono because of a Mono bug.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
f123037a07
Added a very simple type map for C FILE handles.
10 years ago
triton
b4d8f35862
Fixed static class pass to work with opaque classes.
10 years ago
triton
9bd26ca0fe
Fixed support for C language parsing flags.
10 years ago
Dimitar Dobrev
12fcb2b13e
Removed the setting of zero size for types that have fields in a base or virtuals.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
b1054770ba
Fixed the MSVC build when looking for Clang builtin headers in the wrong location.
10 years ago
Dimitar Dobrev
4a5633731d
Fixed the resolution of variables on Linux.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
9d78f5386d
Fixed a crash on Mono when marshalling types with no fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
f754263ab5
Fixed the potential incorrect translation unit of templated classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
tests/NamespacesDerived/NamespacesDerived.h
10 years ago
Dimitar Dobrev
062f8e26e0
Revert "Revert "Included ignored fields in the wrappers for better marshalling.""
...
This reverts commit 27d3f21a75
.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
52abb8fd97
Fixed the pass for conversion operators not to create such for ctors taking a base or derived type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
fc572cd57e
Fixed the pass for conversion operators not to create them in abstract types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
ff8a5a248e
Set IsExpicit in the pass for conversion operators for the sake of correctness.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
82b27a68c8
Skipped already visited methods in the pass for conversion operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
8e2490394d
Fixed a crash at generation time with a fake "setter" with no params and a getter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
f6b25203a0
Revert "Enable verbose mode in tests driver for Travis troubleshooting."
...
This reverts commit 05236a89af
.
10 years ago
triton
2d4a2c9aa6
Revert "Use the absolute target directory when copying Clang headers."
...
This reverts commit 535536d1c1
.
10 years ago
triton
535536d1c1
Use the absolute target directory when copying Clang headers.
10 years ago
triton
05236a89af
Enable verbose mode in tests driver for Travis troubleshooting.
10 years ago
João Matos
2e433afb10
Added support for Clang's driver toolchain include management for Linux.
10 years ago
João Matos
0d7c7efd43
Better detection of Clang builtin headers location.
10 years ago
João Matos
d078e4aeae
Copy the Clang builtin headers as part of the build if they are available.
10 years ago
Dimitar Dobrev
594723a5aa
A minor improvement to the generated C++ code for inlines.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
ce597a399c
Fixed the build on VS 2015.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
069b727a23
Fixed the generation of overloads for free functions with default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
04547574ba
Fixed the generated wrappers for attributed function types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
5c5c9b8698
Fixed nested abstract classes to get internally implemented.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
86bd6bd118
Fixed the names when marshalling enum parameters in the C# end.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago