Chris Spencer
0c535d361b
Generate delegates for non-typedef'd function pointers to prevent runtime exceptions during marshalling.
10 years ago
Dimitar Dobrev
8505f82ff0
Fixed signatures to include the 'const', if any.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
49d3c85b7c
Copied the signature and the line number when cloning functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
João Matos
ae4fab7db5
Fixed some extra whitespace on RenameRootNamespaces.
10 years ago
triton
b36c768407
Fixed assembly property attributes.
...
Closes #419 .
10 years ago
Stephan Sundermann
952be0b491
Don't visit invalid units
10 years ago
Stephan Sundermann
a125b055b0
Add missing reference
...
For some reason premake didn't rebuild when I changed this and no compile error was thrown.
10 years ago
Stephan Sundermann
9b3313d424
Use libc++ on osx
10 years ago
Stephan Sundermann
d5c754264e
Determine bitness on osx
...
This reads the bitness from mono which is in path.
10 years ago
triton
da846efd48
Added parser bindings for 64-bits OSX.
11 years ago
triton
087b21e7d4
Added 64-bits OSX support to the parser bindings generator.
11 years ago
Stephan Sundermann
a314b8ede6
Fix build error on osx
11 years ago
Andrius Bentkus
2a8b45e549
Throw exception on not support VTable instead of silently using Itanium.
11 years ago
Andrius Bentkus
5102fb55d7
Remove not used variable.
11 years ago
Andrius Bentkus
1bffbe8dee
Fix warning, OrignalPtr is an IntPtr and therefore can not be null.
11 years ago
Dimitar Dobrev
36203df887
Restored the full qualifying when printing types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
3b4fce6f33
Added a property for the line at which a declaration is located in its header.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
0c277cff5a
Updated to latest LLVM and Clang revisions.
11 years ago
triton
43531f0b38
Fixed regression when parsing multiple non-member friend declarations.
11 years ago
triton
4ddbf34edb
Fixed another regression when parsing class templates.
...
Closes issue #411 .
11 years ago
triton
bf9fb64120
Fixed regression when parsing class templates.
...
First introduced in f2de736f81
.
Thanks to @golddranks for providing the test case.
Closes issue #409 .
11 years ago
Pyry Kontio
5f23220143
Fixed two bugs.
11 years ago
Pyry Kontio
575088aeb6
Extended namespaces tests to consider taking a parameter and returning a value of types declared in other libraries. Implemented QualifiedIdentifierIfNeeded().
11 years ago
Pyry Kontio
8a85058c48
Implemented name importing & exporting.
11 years ago
triton
026f1d39b2
Cosmetic cleanup.
11 years ago
triton
f6979115e0
Disable the non-virtual methods from MI bases support until it goes through further testing.
11 years ago
triton
1e0db93c5e
Added support for handling non-virtual methods inherited from MI bases.
11 years ago
Pyry Kontio
2e6bf0dbf9
Fixes GetterSetterToPropertyAdvancedPass by visiting the bases and converting their properties first. This is neccessary for overrided properties of derived classes to work.
11 years ago
triton
3866d6b5fe
Improved robustness of base offsets parsing.
...
Fixes issue #403 .
11 years ago
triton
d2d941638a
Added parsing of base classes offsets data to the AST.
...
This data will be used to solve some multiple inheritance bugs.
11 years ago
triton
f2de736f81
Fixed cyclic dependency when parsing class templates with friends.
...
Fixes ddobrev/QtSharp#22 . Thanks to @golddranks for debugging the problem and the fix.
11 years ago
triton
ac7176f1b7
Added parsing and AST support for C++ friend declarations.
11 years ago
triton
250825fd59
Reworked declaration storage in the managed AST layer.
...
Instead of keeping separate lists for different types of declarations, which limits future extensibility, provide a generalized declaration list like Clang. This also introduces a new DeclIterator<T> type to help migrating the rest of the codebase.
This is the first step of a progressive cleanup to modernize the AST/parser layer.
11 years ago
Dimitar Dobrev
3d72c2fca4
Added renaming of variables.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
ec0f6a3d63
Fixed a potential crash in the property pass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
6fb15efd50
When checking const-ness for ambiguity, ensure parameters are the same.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
b6e5fe3c0e
Parsed friendly non-type declarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
c7253b456b
Fixed the assigment of structs with private fields.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
58fb80f571
Fixed a few regressions introduced by the updated code for default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
46bb029848
Changed the check for an interface when generating conversions to work with the parameter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
19f3400cff
Extended the generation of implicit ctors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Joao Matos
c44985a2a4
Improved test driver to add Clang's built in header path to the system lookup paths.
11 years ago
Joao Matos
7f56db754d
Improved parser generation driver to work better under OSX and non-Windows platforms.
11 years ago
Joao Matos
93cdad40e0
Added bit field support to the AST.
11 years ago
Pyry Kontio
50dff6288b
Fixed the inheritance of a linked class.
11 years ago
triton
684a9ff52b
Fixed wrapping of virtual overloaded operators.
...
References #389 .
11 years ago
Pyry Kontio
0598aa1329
Fixed the floating point bug.
11 years ago
triton
e9b4b9bc4c
Extract ABI-common vtable entry allocation code and fix indexing of ignored entries.
11 years ago
Dimitar Dobrev
6d7c1de491
Fixed a bug in the Equals generation for CLI and regenerated the bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
e6223a1c4c
Fixed 4 bugs related to custom comparison operators.
...
1. Missing Equals to complement operator ==;
2. Endless recursion when having a == and comparing to null;
3. Crash when having a == and comparing a null pointer to sth else;
4. Incompilable code with a type derived from a struct with operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago