Joao Matos
e1b9cde0e1
[build] Compile.sh script now has improved error handling.
...
Signed-off-by: Joao Matos <joao@tritao.eu>
8 years ago
João Matos
57fb9d2813
Merge pull request #935 from atsushieno/fix-linux-toolchain
...
Linux toolchain can be supplied in the same spirit in path probing on Mac.
8 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.
8 years ago
Dimitar Dobrev
358650a155
Enabling empty arrays of non-primitives only when not using MSVC.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
ec66216345
[generator] Ignore zero-sized constant C array types.
8 years ago
Joao Matos
8d94a07034
[csharp] Simplify some more type printing code.
8 years ago
Joao Matos
a158577241
[ast] QualifiedType in ITypedDecl is now a setter.
8 years ago
Joao Matos
0d5b39de75
[generator] Small refactoring of the CheckIgnoredDecls pass invalid type processing.
8 years ago
Joao Matos
0f0c85de24
[csharp] Refactor array type printing code to use interpolation strings.
8 years ago
João Matos
2df1c9bdb9
Fixed typo in developers manual.
8 years ago
Joao Matos
a560297ab8
[driver] Compilation platform is now nullable by default and validated to the host platforms.
8 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>
8 years ago
João Matos
10aa7a7e60
Merge pull request #925 from tritao/dev-docs
...
Some improvements to the dev and user's manual.
8 years ago
Joao Matos
4508fe65dc
Some improvements to the dev and user's manual.
8 years ago
João Matos
6a94f47f77
Update BuildingLLVM.md
8 years ago
Joao Matos
b7d5b2568f
[build] Update some deprecated Premake build code.
8 years ago
João Matos
d5263ab8a8
Merge pull request #924 from tritao/docs
...
[docs] Update the getting started guide and LLVM compilation guide.
8 years ago
Joao Matos
bbd9ab8e69
[docs] Update the getting started guide and LLVM compilation guide.
8 years ago
Dimitar Dobrev
6fa9778859
Cleaned up MSVCToolchain.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 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>
8 years ago
Dimitar Dobrev
e89c9f98de
Deleted useless code from the pass for delegates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
d1461fd101
Fixed the code style of the C++ printer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
046c428852
Fixed the binding of multiple identical function pointers with a calling convention.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
16aa74a20b
Changed an event to a context with a read-only list of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Mohit Mohta
8a2e813445
Merged Delegate Pass and pass for Anonymous Delegates and added the following improvements alongwith.
...
1. Got rid of Anonymous Names.
2. Merged the common code for Delegate Generation.
3. The delegate pass also works for C++/CLI now.
4. Fixed the calling conventions of delegates for both, C++/CLI and C#.
5. Ensures that if a delegate is used for a virtual as well as something else, it finally ends up as public.
6. Fixed the code generation when the return type of a method is a function pointer that has been used somewhere else as well.
7. Added Access and Calling convention to the delegate definition.
The only thing left is to get rid of the hack used, i.e move the code in VisitFunctionDecl to VisitParametersDecl. Somehow, it's not working right now.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
9c26b7e648
Fixed the setting of name-spaces of parameters to actually work.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
649df6e5e7
Made all lists of parameters read-only.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
João Matos
7db6104f13
Update UsersManual.md
8 years ago
Dimitar Dobrev
2f271207fd
Enabled a test previously failing on Linux because of old Mono.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
973fdafdfe
Generated properties from setters returning Booleans.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f17441f371
Completed the handling of separate return types when generating functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
faa9512a84
Simplified the generation of C# for property setters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
f33b162f6f
Ignored inlined name-spaces in the C# gen only.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
38f8207c1d
[generator] Fixed C++ inline namespace processing in CLI.
8 years ago
Joao Matos
6d0d9612cb
[generator] Check if we've already visited the declaration in CheckIgnoredDecls.VisitFunctionTemplateDecl.
...
Thanks to @ddobrev for the heads up in code review.
8 years ago
Joao Matos
2d65d2b493
[cli] Added some aliases to options in CLI tool.
8 years ago
Joao Matos
09e568d0b3
[generator] Improved processing for C++ inline namespaces.
8 years ago
Joao Matos
9c83f88c7f
[generator] Fixed regression ignoring function templates.
8 years ago
Joao Matos
2b5c256514
[cli] Fixed initial output messages.
8 years ago
Dimitar Dobrev
a056659d09
Generated properties from <type> get()/void get(<type>) pairs.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
4d177b317d
Switched the Windows CI to Visual Studio 2017.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
20fcb19436
Restored the option for generating one C# file per unit.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
27481289d6
Fixed the sorting of modules to also work with manually added dependencies.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
043aeb534b
[generator] Do not generated unformatted code if debug mode is enabled.
8 years ago
Joao Matos
4f77dafb2e
[cli] Added an option for enabling debug mode for generated output.
8 years ago
Joao Matos
fbfd1e1b89
[cli] Improve directory setup in case the path is not a file path.
8 years ago
Joao Matos
00ae918561
[cli] Extract target triple setup code into its own method.
8 years ago
Joao Matos
b31930ad4a
[cli] Adds a new option for automatic compilation of generated code.
8 years ago
Joao Matos
97eb8b0f1c
[cli] Adds a new dedicated "-exceptions" flag to enable C++ exceptions.
8 years ago
Joao Matos
a302beccdc
[cli] Added a new -A option to pass compiler arguments to Clang parser.
8 years ago