Joao Matos
|
37bb60b3da
|
Rework handling of native record creation and add some tests.
|
8 years ago |
Joao Matos
|
ef3028bf35
|
Initialize size and elementSize members in native ArrayType.
|
8 years ago |
Dimitar Dobrev
|
9294ea0978
|
Ignored defaulted functions when generating C++ for symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
e2e4109631
|
Added to a method a list of its overridden methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Kimon Topouzidis
|
3760d4d550
|
Made Function a DeclarationContext to match the Clang AST. (#896)
|
8 years ago |
Kimon Topouzidis
|
1298634804
|
Extended declarations to store their packing. (#871)
|
8 years ago |
Mohit Mohta
|
3699574983
|
Removed the macros in C++ AST for std::string because we can marshal it (#866)
|
8 years ago |
Dimitar Dobrev
|
9dbcc3cc2c
|
Completed the support for dependent type names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
realvictorprm
|
10c86a2a10
|
Fixed the generated C# when an incomplete class is forwarded more than once.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
realvictorprm
|
9d89764965
|
Wrapped injected classes in order to ease binding lists of redeclarations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
b8f54de73e
|
Parsed function bodies.
|
9 years ago |
Dimitar Dobrev
|
cef847825a
|
Exposed constant expressions, friendships and exception specifications of functions in our AST.
|
9 years ago |
Dimitar Dobrev
|
dbb3182b44
|
Fixed all warnings in our C++ part.
|
9 years ago |
Dimitar Dobrev
|
5af5b2093f
|
Extended the AST with the template parameters being substituted.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
db942dc06c
|
Wrapped the reference qualifier of functions.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
5d8ecf32d7
|
Extended the AST with the GCC vector type ("__attribute__").
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
7d67f4b023
|
Added unary transformations and other fixes to restore the full build with all tests.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
4b1309f5be
|
Added support for C++14 variable templates and specializations.
|
9 years ago |
Joao Matos
|
12312bff14
|
Refactored common template handling code in native AST.
|
9 years ago |
Dimitar Dobrev
|
fc87fb6ee9
|
Added the desugared type, if any, of DependentNameType, to the AST.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
7986747373
|
Added dependent template specialization types to the AST.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
0c7031e951
|
Fixed the parsing of typedefs with the same name in different specialisations of a template.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
6abdb764e6
|
Completed the exposing of type aliases in our AST.
Fixes https://github.com/mono/CppSharp/issues/670.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
cfc9684ba6
|
Initialize TemplateArgument::Integral to 0.
|
9 years ago |
Joao Matos
|
7f75246215
|
Added support for C++11 type alias template declarations.
Partial fix for https://github.com/mono/CppSharp/issues/664.
|
9 years ago |
Dimitar Dobrev
|
517b1a5ccd
|
Saved the offsets per base in the layout of a record.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
c4c2ef21ce
|
Filled in all missing v-table pointers in record layouts.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
e2b8f44565
|
Properly fixed the offsets of fields in all possible cases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
733ea63925
|
Introduced proper const-ness to the parser.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
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
|
0d5c4539a2
|
Generated internals of types nested in templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
3d4c7c56f8
|
Changed the parser for easier transition to a newer Clang.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
2403d7d3a3
|
Replaced the useless internals of templates with the internals of their specialisations.
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
|
529b21775b
|
Added an explicit C++ destructor to avoid a crash on OS X.
|
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 |
João Matos
|
9c7b666dbc
|
Fixed parsing of incline command arguments and HTML start tag comment attributes under non-Windows platforms.
|
9 years ago |
Joao Matos
|
d4e34e44bd
|
Fixed parsing of block command comment arguments under non-Windows platforms.
|
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 |
Abhinav Tripathi
|
d753c8d637
|
Moved property IsImplicit to Declaration from Method.
|
10 years ago |
Dimitar Dobrev
|
7498e3835f
|
Added an explicit destructor to avoid a crash on Linux.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
b60de160f9
|
Fixed a crash caused by deleting forward declarations other declarations might depend on.
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
|
c7357aa400
|
Removed the creation of forward declarations if their complete counterparts have been parsed.
These object leaked memory too.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
a95511600f
|
Fixed the destruction of comments another way because this one crashes the OS X build.
See https://github.com/mono/CppSharp/issues/599.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
c05dce7443
|
Fixed the destruction of expressions another way because this one crashes the OS X build.
See https://github.com/mono/CppSharp/issues/598.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
f7aee273a7
|
Ensured comments are properly destroyed thus fixing a memory leak.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
1340113332
|
Ensured expressions are properly destroyed thus fixing a memory leak.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |