Joao Matos
|
2d10968f89
|
Move safe and generated identifier generation to base code generator.
|
9 years ago |
Joao Matos
|
89a31730fc
|
Added a visitor overload for translation units.
|
9 years ago |
Dimitar Dobrev
|
eb631e3f37
|
Removed deprecated code related to testing.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
e7f9b2975c
|
Updated NUnit to the latest version (3.6) to fix a test failing at AppVeyor.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
dad52a2d5b
|
Clean up display paths of generated build project files.
Fixes issue #639. https://github.com/mono/CppSharp/issues/639
|
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
|
7ad1af0cac
|
Removed redundant qualification of types in the generated C#.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
ee171eb9fa
|
Freed up the native parser options when done with.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
e034bd6f85
|
Re-use binding context from driver instead of creating new one for test.
|
9 years ago |
Joao Matos
|
f95ea6bdc8
|
Fixed TestAst.TestSignature under non-Windows platforms.
|
9 years ago |
Joao Matos
|
d50ee38470
|
Fixed GeneratorTests.GetOutputDirectory to work with VS for Mac.
|
9 years ago |
Dimitar Dobrev
|
8fa4a1082e
|
Supported the "volatile" qualifier in the CPP printer.
|
9 years ago |
Dimitar Dobrev
|
2531d631c6
|
Ensured template arguments of specialised functions are read.
|
9 years ago |
Dimitar Dobrev
|
f4ace8fccc
|
Checked all redeclarations when parsing function bodies which is back on.
|
9 years ago |
Joao Matos
|
cb3e9edf44
|
Remove IgnoreParseWarnings option and replace functionality with Verbose option.
|
9 years ago |
Joao Matos
|
fbf43067d7
|
Refactor the diagnostics system.
|
9 years ago |
Joao Matos
|
1426f21ff8
|
Rename TextDiagnosticPrinter to ConsoleDiagnostics.
|
9 years ago |
Dimitar Dobrev
|
32f315d206
|
Improved the recognition of inlined functions by checking their redeclarations.
The parsing of function bodies is no longer needed and it slows parsing down significantly so it is now turned off.
|
9 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
|
dd814fe5d5
|
Fixed all warnings in the C# code.
|
9 years ago |
Dimitar Dobrev
|
b2a872f431
|
Merged the passes for properties and made the result non-optional.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
7a26c11382
|
Rename VisitLibrary method to VisitASTContext.
|
9 years ago |
Joao Matos
|
4d277afa69
|
Fixed C/C++ type printing of const pointers with const types.
|
9 years ago |
Joao Matos
|
6eae58007c
|
Make TestCompletionOfClassTemplates more robust.
|
9 years ago |
Dimitar Dobrev
|
56c1fab63b
|
Fixed a bug causing a class layout to have the class as its own base.
Fixes https://github.com/mono/CppSharp/issues/702.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
d2326a3883
|
Added processing of type aliases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
63612a875a
|
Removed the renaming of fields because they are no longer exposed.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
749c2b17ec
|
Renamed ParserOptions to CppParserOptions and ParserOptions2 to ParserOptions.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
50ee414799
|
Fixed the C++ type printer to handle const value types.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
19fb6ca7d6
|
Fold toolchain parser setup to parser options.
|
10 years ago |
Joao Matos
|
f8f4c2ecc5
|
Fixed Windows build.
|
10 years ago |
Joao Matos
|
a77bc2a91f
|
Separate parser options from driver options.
This will break API compatibility, you will have to update your options setup code.
|
10 years ago |
Dimitar Dobrev
|
4f10e9fb78
|
Fixed the build after the refactoring.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
a237dbf1e2
|
Updated build files to Premake 5 conventions.
|
10 years ago |
Joao Matos
|
62ab990b63
|
Formatting fixes.
|
10 years ago |
Joao Matos
|
013a9e8b4c
|
Merged IgnoreAbstractOperatorsPass into CheckOperatorsOverloadsPass and added a test.
|
10 years ago |
Dimitar Dobrev
|
deea8d8cda
|
Removed functions made ambiguous by different qualifiers on the same type in their parameter.
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
|
2bac142976
|
Added VisitFunctionTemplateSpecializationDecl visitor implementations.
|
10 years ago |
João Matos
|
d03dc8013a
|
Remove workarounds due to improper handling of Clang builtin include dirs.
|
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
|
e57ea530e1
|
Avoided naming conflicts between methods of different specialisations of a template.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
cc2a283c7f
|
Fixed the completion of templates.
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
|
9b51e30643
|
Fixed the option for output name-spaces to allow eliminating them.
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
|
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
|
69bd424c75
|
Temporarily suspended the completion of types because it causes problems while not useful yet.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |