josetr
4eb412784b
CSharp.cs doesnt contain CL class nor myfn
2022-03-12 23:33:35 +00:00
josetr
b024a92570
Use `PushWriteBlock` to improve code readability
2022-03-12 23:15:32 +00:00
josetr
2792600efb
Rename LibrarySymbolInfo to CSharpLibrarySymbolTable and improve it a bit
2022-03-12 23:10:06 +00:00
josetr
69925a56e1
Improve IsPrimitiveTypeConvertibleToRef() performance
2022-03-12 22:12:18 +00:00
josetr
552d4114df
Use C# 9.0
2022-03-12 22:10:45 +00:00
josetr
eb5031bf4c
Format files
2022-03-12 21:54:39 +00:00
josetr
fd3f82a7a1
Fix AccessViolationException error when using deduction guides
2022-03-12 06:48:32 +00:00
josetr
7e825c4dd3
Add LanguageVersion.CPP23
2022-03-12 04:33:07 +00:00
josetr
739863589c
Upload packages to GitHub Packages
2022-03-11 04:07:59 +00:00
josetr
6fc6375bcd
Use Nerdbank.GitVersioning
2022-03-11 03:55:21 +00:00
Ahmed Elsayed
c281f57b52
Add Experimental Initial Span ( #1651 )
...
* Fix NotImplementedException
* Add Experimental Span
* Fix Some Problems and Comment
2022-02-23 13:15:55 -03:00
Ahmed Elsayed
158a58654a
Fix NotImplementedException ( #1650 )
2022-02-16 12:26:08 -03:00
josetr
d5c712643c
Generate nuget package for CppSharp.Runtime ( #1574 )
2022-01-27 23:10:07 -03:00
Joe Hull
1edd5ee5ee
Avoid ArgumentOutOfRangeException in ExpressionHelper.CheckForString ( #1649 )
2022-01-21 17:07:24 +00:00
Joe Hull
81351632d5
Use WeakReference<T> in NativeToManagedMap to allow finalizers to run. ( #1648 )
2022-01-21 10:44:04 +00:00
Dimitar Dobrev
740f30e816
Remove redundant spaces in the generated C++
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2022-01-07 17:18:17 +02:00
焼き猫
318d145006
Add options.LibraryDirs to module in Generator.cs ( #1646 )
2022-01-07 11:10:39 +00:00
Dimitar Dobrev
b3d32d8c71
Update LLVM to a newer version
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2022-01-05 23:00:37 +02:00
Dimitar Dobrev
87dd4352d1
Document release 1.0.1
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-31 00:08:26 +02:00
Dimitar Dobrev
1acb23813d
Generate valid C# for independent specialisations with nested fields
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-31 00:08:16 +02:00
Dimitar Dobrev
ab04635314
Don't revisit parameters when checking to ignore
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-30 02:42:14 +02:00
Dimitar Dobrev
f1915b3066
Generate valid C# for templates with external specializations only
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-28 22:11:55 +02:00
Dimitar Dobrev
27c52ecf54
Drop CI with windows 32-bit because of premake
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-27 16:09:53 +02:00
Dimitar Dobrev
9b90f1c77b
Generate valid C# for nested in external specializations
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-27 15:19:32 +02:00
Dimitar Dobrev
c84a6c606e
Generate valid C# for independent external specializations
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-27 00:44:22 +02:00
Dimitar Dobrev
3b0eb1800c
Generate valid C# for nested external specializations
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-25 14:19:39 +02:00
Dimitar Dobrev
aab63d0aa3
Generate valid C# for unresolvable base templates
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-21 01:32:38 +02:00
Dimitar Dobrev
69e766be5d
Generate valid C# for classes with dependent fields nested in templates with independent fields
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-15 21:06:54 +02:00
Dimitar Dobrev
f44686bda0
Generate valid C++ for redeclaration of friends
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-13 16:55:16 +02:00
Dimitar Dobrev
a69f6d1d6d
Generate valid C++ for specialisations with void
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-12 23:33:08 +02:00
Dimitar Dobrev
dddd5da0e6
Update LLVM to the latest version
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-12-08 16:44:31 +02:00
Dimitar Dobrev
5552f2b484
Generate valid C# for pure functions returning or taking dependent pointers
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-30 17:06:29 +02:00
Ahmed Elsayed
caaf89d34a
Fix a crash when processing templates with variable arguments ( #1641 )
2021-11-29 11:41:20 +02:00
Dimitar Dobrev
0d84877068
Simplify code by not specially handling void**
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-26 16:51:00 +02:00
Dimitar Dobrev
25e983606e
Report errors when linking of generated C++ fails
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-23 18:03:29 +02:00
Dimitar Dobrev
b2cc4ab913
Ensure complete classes in class templates
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-23 01:33:03 +02:00
Dimitar Dobrev
365b8db71c
Print C++ for some kinds of non-type template parameters
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-23 00:21:49 +02:00
Dimitar Dobrev
da251d443b
Always ignore functions returning unsupported specializations
...
In very complex headers with heavily typedef-ed returned specializations of templates with non-type template parameters the functions themselves can be visited before such templates - thus leaving such invalid functions as valid.
Unfortunately, such a complex interaction cannot be reproduced and therefore tested in a reasonable time-frame.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-23 00:19:08 +02:00
Dimitar Dobrev
634c231853
Generate valid C# for unions in templates with non-type args
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-20 18:52:36 +02:00
Dimitar Dobrev
540c16576f
Fix a test for the new msvc in vs 2022
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-19 00:59:28 +02:00
Dimitar Dobrev
3ae0fd0fd5
Match names of parameters in templates to their specializations
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-12 17:59:12 +02:00
Dimitar Dobrev
0214b6e1cc
Work around adding an STD name-space to a custom header
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-12 10:24:23 +02:00
Dimitar Dobrev
0b8f252d1b
Generate valid C# for fields with types system template specializations
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-11 23:20:56 +02:00
Dimitar Dobrev
ad6557792f
Simplify handling of initialisation of variables
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-06 11:13:21 +02:00
Dimitar Dobrev
3defc52121
Remove the badge for the unused github releases
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-05 23:45:31 +02:00
Dimitar Dobrev
d9394cd5df
Auto-link generated C++ with the new LLD Mach-O
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-05 13:00:24 +02:00
Dimitar Dobrev
bde15287c5
Update LLVM and drop building its needless tools
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-05 13:00:12 +02:00
Dimitar Dobrev
7734beca95
Fix formatting of the list of excluded LLVM tools
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-11-04 22:20:40 +02:00
Dimitar Dobrev
132ed7e25b
Generate valid C# for variables which use float
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-10-31 19:12:57 +02:00
Dimitar Dobrev
ac5001ddca
Generate valid C# for variables with > 1 arg
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
2021-10-31 18:36:11 +02:00