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 |
Dimitar Dobrev
|
c0767bcd47
|
Eliminated memory leaks with forward declarations.
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
|
acbfd21b7a
|
Freed C++ objects allocated by the parser.
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
|
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
|
beabb8224d
|
Regenerated the parser bindings with all fixes for v-tables and dtors.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
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 |