Joao Matos
54434454c9
Fixed a couple minor Clang parser warnings on Clang/OSX.
8 years ago
Dimitar Dobrev
2f0956249d
Deleted redundant code when printing and marshalling in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
47633db649
Moved the handling of indexers to the C# marshaller.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
787798f2bd
Passed the qualified return type when calling internal functions in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
8d518fba22
Set the name-space of constructed parameters to their function. ( #909 )
8 years ago
Dimitar Dobrev
46b40bbe05
Fixed the generated C# for a case of a typedef of a function pointer.
...
Typedefs of function pointers can be written in two ways:
typedef void (*typedefedFuncPtr)();
int f(typedefedFuncPtr fptr);
typedef void (typedefedFuncPtr)();
int f(typedefedFuncPtr* fptr);
Up until now we only supported the former.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
db522c0295
Fixed the C# generation for functions with typedefed function pointers as params ( #903 )
8 years ago
Kimon Topouzidis
02d37706ac
Set the name-space of a parameter to its function. ( #908 )
8 years ago
Dimitar Dobrev
f16c229f27
Updated premake for Windows to the latest version.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
b71a37d154
Simplified and stabilised the getting of the base of a method.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
2d69ead3ca
Fixed os.ishost check so we do not call is_64_bits_mono_runtime on Windows.
8 years ago
Joao Matos
27efa2ec87
Fixed unreachable code warning.
8 years ago
Dimitar Dobrev
4a0167e10c
Made whether a method is an override adjustable.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
661609176a
Rewrite build config file generation in Premake.
...
The previous version used io.output which is not needed and also badly interacts with Premake internals.
8 years ago
Joao Matos
e6077448a0
Update Premake5 to fix Nuget bug.
...
https://github.com/premake/premake-core/pull/858
8 years ago
Joao Matos
184f678f38
Use dotnetframework instead of framework Premake command.
8 years ago
Joao Matos
66637ccd31
Default to .NET Framework 4.6 in Premake.
8 years ago
Kimon Topouzidis
b4735df891
Included the comments plain text to the remarks block. ( #907 )
8 years ago
Abhinav Tripathi
2ccdc59fc0
Fix the typo in LLVM.lua ( #906 )
...
Prevented projects from being generated using GenerateProjects.bat
8 years ago
Dimitar Dobrev
f9a8798b8f
Fixed the generated C# for setters with a reference to a primitive type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
db164c0c0b
Ensured a single element for remarks in the generated XML documentation comments. ( #904 )
8 years ago
Dimitar Dobrev
d2426a7db6
Fixed the renaming of methods in forwarded types from secondary bases in dependencies.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
8b9c3ab89f
Fixed a regression when a public virtual is overridden as private.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
2f2f13f352
Deleted an unused method.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
d3e8cc51d5
Further simplified the getting of base methods from only the primary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
e0367c5601
Simplified the getting of base methods from only the primary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
0c22c4deb7
Simplified the generation of C# for base calls.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
0ecb7fc156
Changed the getting of a root base method to use the list of overrides.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
845bf5b7f1
Based if a method is an override exclusively on if it has any overridden methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
8cb7207df7
Deleted code made redundant by the equalisation of access for overrides.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
e2e4109631
Added to a method a list of its overridden methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
cf98ecd36e
Generated internals of external specialisations only if the template has template fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
49104ee0bf
Added a test for getting bases of ignored overrides in secondary bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
0124c43439
Removed a hack while renaming.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
e62651a954
Fixed the getting of base methods to include ignored ones.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
cece243a06
Equalised the access of overrides and their base methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
48c6094f52
Fixed the code generation for indexers returning a void pointer ( #901 )
8 years ago
Dimitar Dobrev
2002377f27
Fixed the generated C# when a protected constructor has a parameter with a protected type.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
081b111dc7
Fixed the generated C# when an external specialisation with a dependent field is used as a field.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
f1396727db
Reused the walking of declarations when getting name-spaces in the parser. ( #900 )
8 years ago
Kimon Topouzidis
3760d4d550
Made Function a DeclarationContext to match the Clang AST. ( #896 )
8 years ago
Mohit Mohta
3e8b15c42c
Made the C/C++ language switches adjustable in managed code. ( #895 )
8 years ago
Kimon Topouzidis
e89f7a344e
Refactored the way comments are printed. ( #893 )
8 years ago
Mohit Mohta
fa0d129000
Moved the definition of SetupArguments before SetupIncludes ( #894 )
8 years ago
Mohit Mohta
5227e517fc
Added an option to enable or disable RTTI ( #892 )
...
Fixes #819
8 years ago
Dimitar Dobrev
678496acbb
Revert "Worked around https://appveyor.statuspage.io/incidents/m2vdvw39kdk8 ."
...
This reverts commit 3aea79af7f
.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
3aea79af7f
Worked around https://appveyor.statuspage.io/incidents/m2vdvw39kdk8 .
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
9b0e0ba611
Fixed the generation of inlines to handle types in classes in name-spaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
617e7c78d8
Restored the overload of SetupMSVC with a parameter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
052b2b3a86
Added support for the Doxygen tag for making bold text. ( #889 )
8 years ago