Dimitar Dobrev
cdc51afc0e
Extended the parser and AST to handle template template parameters.
...
For more details see the Clang documentation ( http://clang.llvm.org/doxygen/classclang_1_1TemplateTemplateParmDecl.html ).
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
b50001b2ea
Wrapped the unified symbol resolutions (USR) of declarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
41cd6e6ab7
Fixed a regression when generating the parser bindings for OS X.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
0d5c4539a2
Generated internals of types nested in templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
e4200f4690
Fixed the wrapping of template parameters in the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
cf479f4409
Wrapped more information about comments for better generation.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
e57ad1d3e9
Exposed in our AST the real comment behind a block comment.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
0dea8504ba
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
192fede3f7
Connected the functions in the AST to the template functions they instantiate, if any.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
a052a494c9
Regenerated the parser bindings.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
352bb1c502
Regenerated the parser bindings after the introduction of Declaration::IsImplicit.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
b3a5b88433
Removed Method.AccessDecl because it doesn't map to Clang and was buggy.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
3402952388
Called the most derived destructor when it's not virtual.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
088530dacf
Fixed the memory leaks when parsing enumerations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
7d7b75a155
Changed PreprocessedEntity to a non-declaration because it isn't in Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
54cb17f313
Removed the exception when disposing of objects not originating from managed code.
...
This way we can destroy C++ objects the user is responsible for.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
ffa8d93948
Fixed another C++ memory leak in the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
e82cc87356
Fixed a minor memory leak in the C++ part of the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
1ba4493bf6
Updated to LLVM/Clang 253162/253161 respectively.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
d0ad681a61
Extended the AST and the parser to support call expressions in default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
7aab75f44d
Regenerated the parser bindings to reflect all updates from the last two months.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
CppSharp CI
9c24b3f84e
CI: Re-generated the parser bindings
10 years ago
triton
15db2c04ad
Added a ParserTargetInfo option to the parser options.
...
We'll this to be able to override target details on Clang.
10 years ago
Dimitar Dobrev
beabb8224d
Regenerated the parser bindings with all fixes for v-tables and dtors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
2593f4727f
Added support for getting the array element size to the AST.
10 years ago
Dimitar Dobrev
6432d910fa
Removed the memory leak in the AST converter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
a2b8614f54
Improved the support for constructor expressions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
cd3e729d38
Restored support for full comments.
...
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
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
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
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
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
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
ac7176f1b7
Added parsing and AST support for C++ friend declarations.
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
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
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
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
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
triton
740a284323
Added support for iOS and iOS 64-bits ABIs.
11 years ago
triton
169a3fa610
Added support for keeping ABI-specific function 'this' return information.
11 years ago
Dimitar Dobrev
0ee5b23728
Restored ParserOptions as a ref type because it is inherited.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
c61cfa43a9
Exposed the architecture of native libraries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
7a68a1c9c0
Fixed a crash when parsing va_list in a GCC 64-bit environment.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago