Joao Matos
|
37bb60b3da
|
Rework handling of native record creation and add some tests.
|
8 years ago |
Joao Matos
|
656e4f3773
|
Simplify record redeclarations handling in the parser.
|
8 years ago |
Joao Matos
|
231e164a00
|
Fixed implicit class record walking in the parser.
|
8 years ago |
Marco Zille
|
cb1b3a95f4
|
Improved test on TypeLoc when walking the template argument list on the native AST to prevent crash (#966)
|
8 years ago |
Joao Matos
|
ef3028bf35
|
Initialize size and elementSize members in native ArrayType.
|
8 years ago |
Joao Matos
|
b395d21e63
|
Minor code cleanup to use interpolated string formatting.
|
8 years ago |
Joao Matos
|
eef53dfce2
|
Added a new verbose flag to the CLI tool and improved verbose handling.
|
8 years ago |
Joao Matos
|
34ce466d8d
|
Fixed duplicate generation of forward declared class.
Fixes https://github.com/mono/CppSharp/issues/968.
|
8 years ago |
Joao Matos
|
ecf4472152
|
Small cleanup and minor optimizations in ResolveIncompleteDeclsPass.
|
8 years ago |
Dimitar Dobrev
|
59d08a64a0
|
Improved the fix for handling non-type params in template specialisation types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
f21d44af77
|
Fixed template parsing issue with processing of type locs.
Fixes https://github.com/mono/CppSharp/issues/964.
|
8 years ago |
Joao Matos
|
dac3753c0c
|
Fixed parser bug when dealing with DependentTemplateSpecializationTypeLoc.
|
8 years ago |
Joao Matos
|
78222577f5
|
Fixed an erroneous usage of LLVM cast with a regular C++ type.
Only found with debug-mode LLVM build.
|
8 years ago |
Marco Zille
|
2b9bf29a70
|
Fixed VS2017 system includes search error #957 (#958)
|
8 years ago |
Dimitar Dobrev
|
9e921ed1cd
|
Clarified that C# support for templates is still experimental.
It's difficult to entirely remove them now because there already are tests.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
122359bf9e
|
Fixed the generated C# when a virtual function takes a fixed array.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
3af63fb33d
|
Fixed the generated C# for fixed arrays in types of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
f6033f3a5a
|
Fixed the generated C# for virtuals taking arrays of objects.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
45232ec8a2
|
Lookup Mono SDK path on Windows registry.
|
8 years ago |
Dimitar Dobrev
|
a319f96261
|
Fixed the generated C# when a virtual function takes an array.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
3ce995ede0
|
Fixed the generated C# with 4+ modules and repetitive delegates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
6a15e51d76
|
Added C# marshalling of parameters of type array of const char* const.
Fixes https://github.com/mono/CppSharp/issues/692.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
65afb2628c
|
Simplified the method for generating a variable in C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
37b3339e71
|
Added C# marshalling of parameters of type array of const char*.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
184feac23e
|
Fixed null arrays in C# to be passed as such to C/C++.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
140a624f43
|
Added C# marshalling of parameters of type array of objects.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ce71a3b8a8
|
Added C# marshalling of parameters of type array of primitives.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
3d9cc3ab70
|
Added marshalling of parameters of type array of pointers.
Fixes https://github.com/mono/CppSharp/issues/932.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
4b374c9084
|
Fixed the generated C# for two anonymous types nested in another anonymous type.
Fixes https://github.com/mono/CppSharp/issues/931.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
4accfbc6ab
|
Regenerated the parser bindings.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
d4d6354621
|
Removed unused internals from the generated C#.
Fixes https://github.com/mono/CppSharp/issues/936.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
b93674f261
|
Simplified and optimised the MSVC tool-chain.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
f992cd8280
|
Removed the out parameter when looking for a version of Visual Studio.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
3cf7c6aa0c
|
Moved the searching for a VS SDK to a separate method.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Victor Peter Rouven Müller
|
9edd7819c2
|
Add C++17 to the parser options
Just to complete the list @tritao 😄
|
9 years ago |
Joao Matos
|
e1200bc577
|
[parser] Refactor the parser layer.
Removes some useless abstractions and unused code.
Signed-off-by: Joao Matos <joao@tritao.eu>
|
9 years ago |
Atsushi Eno
|
8631baab59
|
Linux toolchain can be supplied in the same spirit in path probing on Mac.
i.e. just assume "/usr" here.
|
9 years ago |
Dimitar Dobrev
|
358650a155
|
Enabling empty arrays of non-primitives only when not using MSVC.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
ec66216345
|
[generator] Ignore zero-sized constant C array types.
|
9 years ago |
Joao Matos
|
8d94a07034
|
[csharp] Simplify some more type printing code.
|
9 years ago |
Joao Matos
|
a158577241
|
[ast] QualifiedType in ITypedDecl is now a setter.
|
9 years ago |
Joao Matos
|
0d5b39de75
|
[generator] Small refactoring of the CheckIgnoredDecls pass invalid type processing.
|
9 years ago |
Joao Matos
|
0f0c85de24
|
[csharp] Refactor array type printing code to use interpolation strings.
|
9 years ago |
Joao Matos
|
a560297ab8
|
[driver] Compilation platform is now nullable by default and validated to the host platforms.
|
9 years ago |
DevSidious
|
07ea284431
|
[parser] Added LLVM target initialization and supporting libraries for parsing inline assembly.
Fixes #923
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
b7d5b2568f
|
[build] Update some deprecated Premake build code.
|
9 years ago |
Dimitar Dobrev
|
6fa9778859
|
Cleaned up MSVCToolchain.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
5aaa0a0351
|
Fixed a crash when trying to use a VS version missing from the system.
Fixes https://github.com/mono/CppSharp/issues/922.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
e89c9f98de
|
Deleted useless code from the pass for delegates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
d1461fd101
|
Fixed the code style of the C++ printer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |