Dimitar Dobrev
|
5ca93458a2
|
Fixed the generation of internals for template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
feb2df8fae
|
Completed just class template specialisations used in functions.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
b7faf33819
|
Fixed a regression of generating templates in C# with the option off.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
e96580357e
|
Optimised the parser by skipping the system translation units.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
5bce2fb533
|
Reused parameters between functions and their types (as Clang does).
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
c61c989460
|
Added an option for specifying STD types to bind.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
291da4ece3
|
ed time and memory during generation by skipping methods of most STD classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ada983c40d
|
Improved the check for a layout on a record.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
c3048ae8d8
|
Fixed a crash when trying to get a source location for an implicit declaration.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ae6a37359a
|
Removed unused STD enumerations from generation.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
7623adc9fb
|
Made only really used classes internal.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
405d82fede
|
Fixed a typing error in the name of a function.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
bc4e01b58b
|
Revert "Skipped completion of already complete template specialisations."
This reverts commit 99da13e643 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
99da13e643
|
Skipped completion of already complete template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
b41b96df77
|
Fixed a regression causing generated types to be incorrectly reordered.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
cd5b57a786
|
Ensured all non-system template specialisations are complete.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Marco Zille
|
5eb077b5d4
|
Fixed a problem when walking the managed AST because friend templated
classes were seen as declared multiple times and resulted into a crash. Solves #975.
|
8 years ago |
Dimitar Dobrev
|
2d8e87188b
|
Simplified the completion of declarations in the parser.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
João Matos
|
4438465cbd
|
Clean up the parser. (#970)
|
8 years ago |
Joao Matos
|
37bb60b3da
|
Rework handling of native record creation and add some tests.
|
8 years ago |
Joao Matos
|
656e4f3773
|
Simplify record redeclarations handling in the parser.
|
8 years ago |
Joao Matos
|
231e164a00
|
Fixed implicit class record walking in the parser.
|
8 years ago |
Marco Zille
|
cb1b3a95f4
|
Improved test on TypeLoc when walking the template argument list on the native AST to prevent crash (#966)
|
8 years ago |
Joao Matos
|
ef3028bf35
|
Initialize size and elementSize members in native ArrayType.
|
8 years ago |
Dimitar Dobrev
|
59d08a64a0
|
Improved the fix for handling non-type params in template specialisation types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
f21d44af77
|
Fixed template parsing issue with processing of type locs.
Fixes https://github.com/mono/CppSharp/issues/964.
|
8 years ago |
Joao Matos
|
dac3753c0c
|
Fixed parser bug when dealing with DependentTemplateSpecializationTypeLoc.
|
8 years ago |
Joao Matos
|
78222577f5
|
Fixed an erroneous usage of LLVM cast with a regular C++ type.
Only found with debug-mode LLVM build.
|
8 years ago |
Dimitar Dobrev
|
4accfbc6ab
|
Regenerated the parser bindings.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
e1200bc577
|
[parser] Refactor the parser layer.
Removes some useless abstractions and unused code.
Signed-off-by: Joao Matos <joao@tritao.eu>
|
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 |
Joao Matos
|
b7d5b2568f
|
[build] Update some deprecated Premake build code.
|
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 |
Joao Matos
|
728832da8e
|
[build] Do not include Std-symbols native project in VS for Mac solution in non-Windows hosts.
|
8 years ago |
Joao Matos
|
348505c67d
|
Fixed Premake parser symbols build to point to the correct files.
|
8 years ago |
Joao Matos
|
7d6c6141e3
|
Move Std-symbols to the CppParser project build files.
|
8 years ago |
Dimitar Dobrev
|
51c5ef8fea
|
Fixed the parser bindings for macOS.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
9294ea0978
|
Ignored defaulted functions when generating C++ for symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
ff1abf360f
|
Ensured all fields in class layouts are checked for specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Joao Matos
|
54434454c9
|
Fixed a couple minor Clang parser warnings on Clang/OSX.
|
8 years ago |
Kimon Topouzidis
|
02d37706ac
|
Set the name-space of a parameter to its function. (#908)
|
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 |
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 |
Mohit Mohta
|
5227e517fc
|
Added an option to enable or disable RTTI (#892)
Fixes #819
|
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
|
f4d9259450
|
Regenerated the parser bindings.
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 |