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
Mohit Mohta
65d6c49e1b
Making the code run properly from a different working directory ( #891 )
8 years ago
Mohit Mohta
ed5eab6add
Pass the path of clang includes to ResourceDir ( #888 )
8 years ago
Dimitar Dobrev
6918d9d769
Made the generated exception for templates more explanatory.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
1084dcc1df
Deleted unused code from the C# generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f4d9259450
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
40e6abbd22
Deleted pointless indexation of overloads.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
351bae6bb6
Removed redundant indexation from internal functions in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f646647159
Ignored system declarations before checking for others to ignore.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
fa9652aa72
Fixed the generation of symbols to include supported specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
6a414939e5
Extended the finding of symbols to work for specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
01677b0cb1
Fixed the generated #includes when renaming output files. ( #887 )
...
Fixes #868
8 years ago
Dimitar Dobrev
898001fecd
Improved the detection of used template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
a15aa8f921
Fixed the Linux build.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
416c67215c
Added passage of VS Version selected at config time to the build ( #886 )
...
Fixes #815
Fixes #814
8 years ago
Dimitar Dobrev
1dc5c34662
Removed the useless marking of supported system template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
9c0f80f69d
Bound the supported specialisations with generic syntax in the generated C#. ( #880 )
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
49e94460a5
Fixes Stack mismatch when bool param passed from C++ to C#
...
Fixes #834
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
a7cf984486
Fixed a memory leak when marshalling std::string in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
d9960538af
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
3a3d003eb8
Generated properties of supported template specialisations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
9f4d501d0b
Fixed a regression of overridden setters not turning into properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
54f3af1459
Revert "Simplified the C# marshalling of Boolean fields."
...
This reverts commit dc270ef2a8
.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
dc270ef2a8
Simplified the C# marshalling of Boolean fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
b4bedeb448
Fixed the addition of Windows SDK include dirs when using VS 2017.
...
Fixes https://github.com/mono/CppSharp/issues/865 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
cbd1e0e53c
Fixed the macOS build with the new Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
5da324dcf8
Link LLVM's BinaryFormat library last to fix Linux symbol linkage.
8 years ago
Joao Matos
653d0efb2c
Updated deprecated os.is() checks in Premake build scripts.
8 years ago
Joao Matos
ba130c6e6f
Updated Premake binary for Windows.
8 years ago
Dimitar Dobrev
f946eea70e
Fixed the Unix build after upgrading the Unix Clang packages.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
b52ad8b43f
Update Premake build files to latest syntax.
8 years ago
Joao Matos
6c5d51ebd8
Updated Premake binaries for Linux and macOS.
8 years ago
Joao Matos
e72661ba24
Fixed the check for Vagrant environment on build scripts.
8 years ago
Joao Matos
4fff5854c2
Update CMake version and do provisioning on Linux.
8 years ago
Joao Matos
bd2b22c580
Update build process utilities to work with Lua 5.2 in up-to-date Premake.
8 years ago
Joao Matos
709f431f9e
Upgrade the Vagrant and provisioning script to Ubuntu 16.06.
8 years ago
Joao Matos
1ebbcdf668
Fixed the LLVM build script CMake invocation to work with recent LLVM/Clang revisions.
...
This fixes the dreaded CMake error:
CMake Error at tools/clang/tools/clang-offload-bundler/CMakeLists.txt:18 (add_dependencies):
Cannot add target-level dependencies to non-existent target "clang".
8 years ago
Dimitar Dobrev
d7daed8273
Added support for VS 2017 by updating Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
346bc97abc
Included the headers for AST tests to the solution. ( #881 )
...
Fixes #850
8 years ago