josetr
|
eb5031bf4c
|
Format files
|
4 years ago |
Joao Matos
|
bcc6fd887d
|
Improve visiting options implementation in CodeGenerator.
|
5 years ago |
Joao Matos
|
5cb683a199
|
Normalize visiting overloads to be virtual.
|
5 years ago |
Dimitar Dobrev
|
0e38947e07
|
Convert the visiting options to an enum
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
5 years ago |
Joao Matos
|
6b53f5828a
|
Add new VisitQualifiedType overload to visitors.
|
5 years ago |
josetr
|
0f498a1090
|
Add missing `Variable.Type` null check. (#1430)
Work around an unhandled case of the type of a variable
|
5 years ago |
Joao Matos
|
c5bcb48cc2
|
Implement UnresolvedUsingType and UnresolvedUsingTypename.
Fixes https://github.com/mono/CppSharp/issues/1235.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
6 years ago |
Joao Matos
|
02955f913d
|
Added statement visiting to IAstVisitor.
|
7 years ago |
Joao Matos
|
a4ed8a5204
|
Re-generated the AST bootstrap code with visitors and abstract classes.
|
7 years ago |
Joao Matos
|
d77c6559d5
|
Remove `VisitDeclaration` calls when visiting translation units.
This causes the `VisitNamespace.VisitDeclaration` to early out, so just remove this as its redundant.
|
7 years ago |
Joao Matos
|
f334e447be
|
Added optional visiting of property accessors.
|
8 years ago |
Dimitar Dobrev
|
54ad95bb5c
|
Simplified the sorting of declarations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
8 years ago |
Dimitar Dobrev
|
d4d6354621
|
Removed unused internals from the generated C#.
Fixes https://github.com/mono/CppSharp/issues/936.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
cd548059e9
|
Added support for class templates which do not specialise types external to them.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
a6b25c1941
|
Fixed the visiting of class template specialisations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
bbfeb09678
|
Ignored pack expansions.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
bd86afa9a2
|
[ast] Visit methods, properties and fields when they're added as declarations.
|
9 years ago |
Joao Matos
|
e74c72cb31
|
Call VisitDeclaration when visiting enumeration items.
|
9 years ago |
Joao Matos
|
89a31730fc
|
Added a visitor overload for translation units.
|
9 years ago |
Joao Matos
|
7daf556fb7
|
Added visitor support for typedef name declarations and unify type alias and typedef implementations.
|
9 years ago |
Dimitar Dobrev
|
cf7813d8d6
|
Moved the C# generation of internal names of template specialisations to the C# type printer.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
28b28d7420
|
Remove unused using.
|
9 years ago |
Dimitar Dobrev
|
f6c617cd38
|
Removed some useless workaround for type definitions.
Fixes https://github.com/mono/CppSharp/issues/671.
|
9 years ago |
Joao Matos
|
a0ac04d67c
|
Fixed another instance of qualified pontee visitation.
|
9 years ago |
Joao Matos
|
21dd5d71a8
|
Fixed ASTVisitor.VisitUnsupportedType to be virtual.
|
9 years ago |
Joao Matos
|
76ce6c7836
|
Added an unsupported type node to the AST.
|
9 years ago |
Dimitar Dobrev
|
d2326a3883
|
Added processing of type aliases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
b16bb0a979
|
Moved the change of order when visiting properties to just the renaming pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
829422cc86
|
Fixed invalid generated C# code when having a field renamed the same as a method.
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>
|
10 years ago |
Joao Matos
|
a44da437e6
|
Rename AstVisitor.Options to VisitOptions.
|
10 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>
|
10 years ago |
Joao Matos
|
4b1309f5be
|
Added support for C++14 variable templates and specializations.
|
10 years ago |
Joao Matos
|
4b8bb474fa
|
Clean up template declarations visiting behavior.
|
10 years ago |
Dimitar Dobrev
|
32122a1bba
|
Properly handled enumeration items in default values of parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
3cd024cccf
|
Added marshalling of std::string to the C# end.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
7986747373
|
Added dependent template specialization types to the AST.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
62beaddf63
|
Fixed the printing of class template specializations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 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>
|
10 years ago |
Joao Matos
|
7f75246215
|
Added support for C++11 type alias template declarations.
Partial fix for https://github.com/mono/CppSharp/issues/664.
|
10 years ago |
Dimitar Dobrev
|
162d8ebb49
|
Added an option whether passes should visit parameters of events.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 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>
|
10 years ago |
Dimitar Dobrev
|
41cd6e6ab7
|
Fixed a regression when generating the parser bindings for OS X.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
0d5c4539a2
|
Generated internals of types nested in templates.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
e4200f4690
|
Fixed the wrapping of template parameters in the parser.
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
|
c8da628782
|
Fixed the renaming of overrides in a certain situation.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
Dimitar Dobrev
|
83f58fe260
|
Added an option to disable the visiting of return types of functions.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |
triton
|
ac7176f1b7
|
Added parsing and AST support for C++ friend declarations.
|
11 years ago |
Dimitar Dobrev
|
3d72c2fca4
|
Added renaming of variables.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
11 years ago |