Dimitar Dobrev
f9b795bcc5
Regenerated the parser bindings for Linux as well.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
82446e4983
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
5395761809
Fixed a bug that could cause a method to be added twice to its class.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
27e537c59b
Extract platform detection logic into its own file.
10 years ago
triton
17d4342433
Whitespace fixes.
10 years ago
João Matos
f00575eb4a
Added beginnings of a parser bootstrap code generator.
...
This is going to be extended by @afesteves in his Google Summer of Code work.
10 years ago
João Matos
6d60f6a2ac
Re-generated the parser bindings.
...
Fixes https://github.com/mono/CppSharp/issues/494 .
10 years ago
João Matos
be7980906d
Re-generated the parser bindings.
10 years ago
João Matos
ee8d1b5367
Enable copy constructor generation on parser bindings.
10 years ago
João Matos
54c772b6ac
Use the same path to Linux parser generation headers as on OSX.
10 years ago
Dimitar Dobrev
c512a558c7
Fixed a bug when a default arg is a binary operator expression.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
a293984424
Fixed the signatures of const functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
f0d237d9c2
Added a new property for the line number of the end of a declaration.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
993cb82bb7
Revert "Fixed parsing of function signatures with const-qualified return types."
...
This reverts commit 7d5e53e1df
.
Conflicts:
tests/Native/AST.h
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
99c124eb53
Fixed the location of a friendly declaration.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
7d5e53e1df
Fixed parsing of function signatures with const-qualified return types.
10 years ago
triton
c61f422a28
Slightly refactor signature range code to make it easier to read.
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
Stephan Sundermann
d5c754264e
Determine bitness on osx
...
This reads the bitness from mono which is in path.
11 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
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
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
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
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
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
ebifrier
08994b0408
Fixed the include path problem #321 . (the test case for C++ may be necessary.)
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
Dimitar Dobrev
562fe35ac0
Updated to LLVM/Clang revision 222533/222534.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
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
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
Dimitar Dobrev
26df3e0c77
Improved the handling of numeric default values.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
ec4ee6ba3c
Fixed handling of static fields in the parser.
...
References #320 .
11 years ago
Dimitar Dobrev
17a8fc732f
Removed redundant "new" key-words in generated C# code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
b8d4999e98
Fixed code generation for structors with HasThisReturn set to true.
11 years ago
triton
3ab4d570a3
Removes the remaining SetClassAsValueType from ParserGen.
...
Fixes diagnostics not showing up. These cannot be value types else diagnostics won't be copied in CLI copy constructors.
11 years ago