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
João Matos
d653cfcd79
Merge pull request #401 from ddobrev/master
...
Added renaming of variables
11 years ago
Dimitar Dobrev
3d72c2fca4
Added renaming of variables.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
28c2771ef8
Merge pull request #400 from ddobrev/master
...
Fixed a potential crash in the property pass
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
João Matos
9534d3322e
Merge pull request #399 from golddranks/fix_namespaces_test
...
Namespaces test fixed
11 years ago
Pyry Kontio
87d028f2aa
Namespaces test fixed
11 years ago
João Matos
4e7896b8b6
Merge pull request #398 from ddobrev/master
...
Fixed the assigment of structs with private fields
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
João Matos
443b81496e
Merge pull request #397 from ddobrev/master
...
Fixed the regressions in the code for default args
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
09548eba49
Fixed compile error in test.
11 years ago
Joao Matos
b6b2c503d8
Fixed test to work under non-Windows platforms.
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
fe34164ee2
Implemented dependent native project generation to premake script.
11 years ago
Pyry Kontio
50dff6288b
Fixed the inheritance of a linked class.
11 years ago
Pyry Kontio
139fe7e3c3
Implemented a dependent namespaces test
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
Pyry Kontio
9e318355fa
A test for floating point default arg
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
ebifrier
604bbf9626
Fixed handling of the argument for indexers.
11 years ago
ebifrier
08994b0408
Fixed the include path problem #321 . (the test case for C++ may be necessary.)
11 years ago
triton
0e574bdd5b
Fixed wrong code generation for constant-size arrays of non-primitive types.
...
References #380 .
11 years ago
triton
1c50cc58d0
Fixed build on Linux(Ubuntu).
...
Contributed by @shahid-pk .
Closes pull request #360 .
11 years ago
triton
257165d368
Generated up-to-date parser bindings for non-Windows platforms.
11 years ago
Pyry Kontio
99f643d13f
Test that demonstrate the "new 0" and show some other erroneus behaviour too.
...
Implemented CastExpression. ImplicitCast and ExplicitCast statement classes.
Fixed implicit constructor string generation.
Implemented CtorExpr.
All test cases pass.
Fixed indentations, streamlined the code.
Fixed regressions.
Fixed regressions.
Adding a test case not covered before.
Fixed, refactored and simplified things.
Still more fixes (0 to null ptr conversion, enum check). The additional test passes now too.
11 years ago
João Matos
6fc0a1a3eb
Merge pull request #376 from ddobrev/master
...
Fixed the generated code for default value of 0 to a class mapped to an enum
11 years ago
Dimitar Dobrev
191821b1d4
Fixed the generated code for default value of 0 to a class mapped to an enum.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
bc56ba917c
Merge pull request #375 from ddobrev/master
...
Updated to LLVM/Clang revision 222533/222534
11 years ago
Dimitar Dobrev
562fe35ac0
Updated to LLVM/Clang revision 222533/222534.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
a763abd923
Merge pull request #373 from ddobrev/master
...
Added a note about building wrappers and consulting
11 years ago
Dimitar Dobrev
cea4282260
Added a note about building wrappers and consulting.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
daae2b92fa
Merge pull request #366 from ddobrev/master
...
Changed the native ctors by value to also be wrapped by static methods
11 years ago
Dimitar Dobrev
bc140e13be
Changed the native ctors by value to also be wrapped by static methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
ba2fcdf9a6
Merge pull request #364 from ddobrev/master
...
Generated static methods for creating instance by an IntPtr in the C++/CLI branch
11 years ago
Dimitar Dobrev
2600493dd6
Generated static methods for creating instance by an IntPtr in the C++/CLI branch.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
1793061de5
Merge pull request #363 from ddobrev/master
...
Improved the handling of numeric default values
11 years ago