Dimitar Dobrev
d293a7f49f
Regenerated the parser bindings with the renaming of enum items.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
10ac0a4865
Fixed the getting of the template a specialised function is instantiated from.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
5e5e1d0f11
Regenerated the parser bindings with the optimisation when allocating.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
fed72f5910
Ensured the C# gen correctly imports a native library with no target triple.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
f809dbf2d4
Removed redundant paragraphs and spaces when printing C# XML comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
dbfd93d941
Fixed the comment kind of the parser generator.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
8646d3e077
Obsoleted the direct settings for wrapped libraries in the options.
...
Modules should be used instead.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
af6e2ec194
Regenerated the parser bindings to use the new dynamic allocation of memory in C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
cbb64c4c62
Fixed a regression when generating imports of libraries with '.' in the name on Windows.
...
P/Invoke in .NET (on Windows) can only import libraries with '.' in the name if they are explicitly suffixed (have ".dll" at the end).
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
dad52a2d5b
Clean up display paths of generated build project files.
...
Fixes issue #639 . https://github.com/mono/CppSharp/issues/639
10 years ago
Dimitar Dobrev
ecce0d4c33
Regenerated the parser bindings with fully qualified types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
7ad1af0cac
Removed redundant qualification of types in the generated C#.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
e32ebc8200
Added resolution of C++ "auto" types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
3070cdd955
Stubbed BuiltinTemplate and ClassScopeFunctionSpecialization decl types in parser.
10 years ago
Joao Matos
70257ab6df
Stubbed out clang AutoType in the parser to get rid of warnings.
10 years ago
Dimitar Dobrev
ee171eb9fa
Freed up the native parser options when done with.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
acb159c08f
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
fe0ee21392
Remove and sort usings.
10 years ago
Joao Matos
04ee2e5b7d
Rename CodeGenerator.Templates to Outputs.
10 years ago
Dimitar Dobrev
2531d631c6
Ensured template arguments of specialised functions are read.
10 years ago
Dimitar Dobrev
f4ace8fccc
Checked all redeclarations when parsing function bodies which is back on.
10 years ago
Dimitar Dobrev
32f315d206
Improved the recognition of inlined functions by checking their redeclarations.
...
The parsing of function bodies is no longer needed and it slows parsing down significantly so it is now turned off.
10 years ago
Dimitar Dobrev
b8f54de73e
Parsed function bodies.
10 years ago
Dimitar Dobrev
329d350f9d
Added the specialisation info, if any, along with its arguments, to functions.
10 years ago
Dimitar Dobrev
8d322ad53e
Properly handled signed chars in the AST.
10 years ago
Dimitar Dobrev
cef847825a
Exposed constant expressions, friendships and exception specifications of functions in our AST.
10 years ago
Dimitar Dobrev
dbb3182b44
Fixed all warnings in our C++ part.
10 years ago
Dimitar Dobrev
ef69bf1b95
Made the case-renaming pass non-optional for Mono/.NET generators.
10 years ago
Dimitar Dobrev
fc1d75363a
Regenerated the parser bindings after making internals internal.
10 years ago
Joao Matos
1371f89957
Convert CheckMacroPass to be a default pass.
10 years ago
Dimitar Dobrev
60f5da9ced
Fixed memory leaks when reading template parameters.
10 years ago
Dimitar Dobrev
a8815b84e2
Fixed the generated C# when a parameter is s typedef of a primitive pointer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
5af5b2093f
Extended the AST with the template parameters being substituted.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
2be56cbf0d
Clean up a bunch of build warnings.
10 years ago
Joao Matos
f3663c636b
Force the pre-C++11 ABI when compiling the parser library on Linux platforms.
...
Hopefully fixes a long-standing compatibility issue caused by the C++11 ABI switch on GCC5.
Fixes https://github.com/mono/CppSharp/issues/655 .
10 years ago
Dimitar Dobrev
c010a0d9a9
Restored the STD allocator in the OS X parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
cd8cfdd01d
Added a pass for stripping unused STD types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
4c1f51f609
Get rid of generated conflicting classes in parser bindings.
10 years ago
Dimitar Dobrev
b2a872f431
Merged the passes for properties and made the result non-optional.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
56c1fab63b
Fixed a bug causing a class layout to have the class as its own base.
...
Fixes https://github.com/mono/CppSharp/issues/702 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
db942dc06c
Wrapped the reference qualifier of functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
d349134180
Reworked parser bindings build scripts to be more easily re-usable.
10 years ago
Dimitar Dobrev
5d8ecf32d7
Extended the AST with the GCC vector type ("__attribute__").
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
0a5c73dc48
Added explicit GNU versions to the language options of the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
749c2b17ec
Renamed ParserOptions to CppParserOptions and ParserOptions2 to ParserOptions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Joao Matos
e8064e3f4e
Minor build fixes.
10 years ago
Joao Matos
a77bc2a91f
Separate parser options from driver options.
...
This will break API compatibility, you will have to update your options setup code.
10 years ago
Joao Matos
5dac663926
Remove unneeded dependency on our own Premake helpers.
10 years ago
Joao Matos
4bc75c1e19
Remove Bootstrap project from the build.
10 years ago
Joao Matos
b0c539197e
Extract ParserGen build project to its own file.
10 years ago