313 Commits (9b90f1c77b6f54ff35e6a0ba38483794ba5d1faa)

Author SHA1 Message Date
Dimitar Dobrev 9b90f1c77b Generate valid C# for nested in external specializations 4 years ago
Dimitar Dobrev aab63d0aa3 Generate valid C# for unresolvable base templates 4 years ago
Dimitar Dobrev 69e766be5d Generate valid C# for classes with dependent fields nested in templates with independent fields 4 years ago
Dimitar Dobrev a69f6d1d6d Generate valid C++ for specialisations with void 4 years ago
Dimitar Dobrev 5552f2b484 Generate valid C# for pure functions returning or taking dependent pointers 4 years ago
Dimitar Dobrev ad6557792f Simplify handling of initialisation of variables 4 years ago
Dimitar Dobrev 132ed7e25b Generate valid C# for variables which use float 4 years ago
Dimitar Dobrev ac5001ddca Generate valid C# for variables with > 1 arg 4 years ago
Dimitar Dobrev 5e328da9e7 Fix C# layouts for classes with nameless unions 4 years ago
Dimitar Dobrev 5a21a7facd Generate valid C# for copy ctors with extra args 4 years ago
Dimitar Dobrev 50cba5552c Generate valid C# for destructors of templates with dependent fields 4 years ago
Dimitar Dobrev 09190268bc Generate valid C# for internal fields of type external specialization 4 years ago
Dimitar Dobrev c8c415b977 Generate valid C# for static object-typed fields 4 years ago
Dimitar Dobrev 2da9e49fe8 Instantiate specialized classes nested in templates 4 years ago
Dimitar Dobrev f97ad43ce4 Generate valid C# for base types with public fields of const char* 4 years ago
Dimitar Dobrev 42f38ec99e Generate valid C# for constants in namespaceless modules 4 years ago
Dimitar Dobrev 50feab050f Free returned by value instances, not object ones 4 years ago
Dimitar Dobrev 2fdd0822d2 Generate valid C# for setters returning Booleans 4 years ago
Dimitar Dobrev 8803ede83d Place returns as needed without an extra block 4 years ago
Dimitar Dobrev 6a0bdc1ba6 Delete the C++ copy when returning by value (#1623) 4 years ago
Albert Szilvasy 24b02e4d86
Fix incorrect dtor call for non-owned instances (#1615) 4 years ago
Albert Szilvasy a178108c06
Fix for Visual Studio 2019 16.10 (#1614) 4 years ago
Dimitar Dobrev 5c58a5993e Generate valid C# for public fields of typedef-ed primitive pointer 4 years ago
Dimitar Dobrev 954a0cf941 Resolve names matching those of system functions 4 years ago
Joe Hull 748b7b5d03
Add a mechanism to selectively initialize allocated unmanaged memory in the default constructor. 4 years ago
Joe Hull b3a7cd0261
Much improved support for marshaling const char* to string 4 years ago
Joe Hull d135ffdb86 bug: Repaired broken alignment padding generation for structs with embedded arrays of structs. Added a test for this case. 4 years ago
josetr 8ec03edd3b
Flush `Module.ExternalClassTemplateSpecializations` to avoid emitting the same specialization in multiple files 5 years ago
Dimitar Dobrev 7bc0db7ae6 Don't wrap trivial constructors and destructors 5 years ago
josetr 42dda6b12f
Fix generation of SequentialLayout structures (#1499) 5 years ago
josetr 20dbda0405
Fix CS0162 warning about unreachable code (#1492) 5 years ago
josetr 838c2c5930
Fix CS0109 warnings about new keyword not being required. (#1493) 5 years ago
josetr 2e80565bb2
Fix warnings about unnecessary using directives. (#1489) 5 years ago
josetr cb7e35dfa1
Avoid generating an interface with a Dispose method if we already inherit from IDisposable. (#1486) 5 years ago
Dimitar Dobrev 341fadc655 Always use the mangled names as reported by Clang 5 years ago
josetr bd69624a7d
Remove dummy variable and use discards instead available since C# 7.0 (#1478) 5 years ago
josetr 7791cf6996
Fallback to LayoutKind.Explicit when a custom alignment is specified. (#1476) 5 years ago
josetr 051ebb82b3
Remove `Layout.GetSize()` method as it's no longer relevant (#1474) 5 years ago
josetr 0d32121eee Fix the generation of sequential layouts 5 years ago
josetr 5912c236ec
VTable: improve codegen & make it thread safe (#1469) 5 years ago
josetr 52140cb78b
Create VTables class to cache delegates pointing to native virtual methods (#1468) 5 years ago
josetr eac78c6caf
Improve generation of C# (#1466) 5 years ago
josetr b9cf8f160a
Reduce calls to ConcurrentDictionary to improve performance (#1464) 5 years ago
Dimitar Dobrev 75bca17907
Update LLVM to obtain working lld (#1462) 5 years ago
josetr 69a501b91c
Load symbols at startup to avoid very expensive ResolveSymbol calls everywhere (#1447) 5 years ago
josetr 6496bf8dae
Basic support for static constexpr variables (#1435) 5 years ago
josetr 397811dc3c
Fix wrong marshalling for static member arrays (#1428) 5 years ago
Dimitar Dobrev 9f3fc25889 Improve the name of a generating method 5 years ago
Dimitar Dobrev b5ca0635be Check symbols in tests 5 years ago
Dimitar Dobrev 07763331e2 Move libraries to a new class for linking options 5 years ago