Dimitar Dobrev
|
4c884e6c20
|
Ensured no overflown stack in the AST converter.
Switched the conversion of name-spaces and classes to breadth-first.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
f992cd8280
|
Removed the out parameter when looking for a version of Visual Studio.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Victor Peter Rouven Müller
|
9edd7819c2
|
Add C++17 to the parser options
Just to complete the list @tritao 😄
|
9 years ago |
Joao Matos
|
e1200bc577
|
[parser] Refactor the parser layer.
Removes some useless abstractions and unused code.
Signed-off-by: Joao Matos <joao@tritao.eu>
|
9 years ago |
Dimitar Dobrev
|
5aaa0a0351
|
Fixed a crash when trying to use a VS version missing from the system.
Fixes https://github.com/mono/CppSharp/issues/922.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
9c26b7e648
|
Fixed the setting of name-spaces of parameters to actually work.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
142b3be9f1
|
Added a default build config file and an option to disable config generation.
|
9 years ago |
Dimitar Dobrev
|
9294ea0978
|
Ignored defaulted functions when generating C++ for symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Joao Matos
|
27efa2ec87
|
Fixed unreachable code warning.
|
9 years ago |
Joao Matos
|
661609176a
|
Rewrite build config file generation in Premake.
The previous version used io.output which is not needed and also badly interacts with Premake internals.
|
9 years ago |
Dimitar Dobrev
|
e2e4109631
|
Added to a method a list of its overridden methods.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Kimon Topouzidis
|
3760d4d550
|
Made Function a DeclarationContext to match the Clang AST. (#896)
|
9 years ago |
Mohit Mohta
|
3e8b15c42c
|
Made the C/C++ language switches adjustable in managed code. (#895)
|
9 years ago |
Mohit Mohta
|
fa0d129000
|
Moved the definition of SetupArguments before SetupIncludes (#894)
|
9 years ago |
Mohit Mohta
|
5227e517fc
|
Added an option to enable or disable RTTI (#892)
Fixes #819
|
9 years ago |
Dimitar Dobrev
|
617e7c78d8
|
Restored the overload of SetupMSVC with a parameter.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Mohit Mohta
|
65d6c49e1b
|
Making the code run properly from a different working directory (#891)
|
9 years ago |
Mohit Mohta
|
416c67215c
|
Added passage of VS Version selected at config time to the build (#886)
Fixes #815
Fixes #814
|
9 years ago |
Kimon Topouzidis
|
1298634804
|
Extended declarations to store their packing. (#871)
|
9 years ago |
Dimitar Dobrev
|
422b98a0fd
|
Enabled the tests for std::string.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
9dbcc3cc2c
|
Completed the support for dependent type names.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
Dimitar Dobrev
|
974f8fab20
|
Replaced the useless desugared dependent name type with its qualifier.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 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>
|
9 years ago |
realvictorprm
|
9d89764965
|
Wrapped injected classes in order to ease binding lists of redeclarations.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
9 years ago |
realvictorprm
|
938ccf686b
|
Incomplete classes and structs are now generated for C#. (#797)
This feature is NOT coming for C++/CLI !
|
10 years ago |
realvictorprm
|
8f8031584c
|
Added complete support for VS 2017
|
10 years ago |
Dimitar Dobrev
|
d293a7f49f
|
Regenerated the parser bindings with the renaming of enum items.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
fed72f5910
|
Ensured the C# gen correctly imports a native library with no target triple.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
b1621d660c
|
Add the enum as the enum item namespace when converting the parser AST.
|
10 years ago |
Joao Matos
|
3bfb24228b
|
Remove "Ordinary" prefix from BCPL and C comment kinds.
|
10 years ago |
Joao Matos
|
9a4c0bae82
|
Renamed RawCommentKind to CommentKind.
|
10 years ago |
Joao Matos
|
dad52a2d5b
|
Clean up display paths of generated build project files.
Fixes issue #639. https://github.com/mono/CppSharp/issues/639
|
10 years ago |
Dimitar Dobrev
|
b8f54de73e
|
Parsed function bodies.
|
10 years ago |
Dimitar Dobrev
|
329d350f9d
|
Added the specialisation info, if any, along with its arguments, to functions.
|
10 years ago |
Dimitar Dobrev
|
8d322ad53e
|
Properly handled signed chars in the AST.
|
10 years ago |
Dimitar Dobrev
|
cef847825a
|
Exposed constant expressions, friendships and exception specifications of functions in our AST.
|
10 years ago |
Dimitar Dobrev
|
5af5b2093f
|
Extended the AST with the template parameters being substituted.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
b2a872f431
|
Merged the passes for properties and made the result non-optional.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
1346957a66
|
Wrap some really long lines.
|
10 years ago |
Joao Matos
|
54b586d0d0
|
Simplify CheckForDuplicates, decl is never a PreprocessedEntity.
|
10 years ago |
Dimitar Dobrev
|
db942dc06c
|
Wrapped the reference qualifier of functions.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Joao Matos
|
d349134180
|
Reworked parser bindings build scripts to be more easily re-usable.
|
10 years ago |
Dimitar Dobrev
|
d2326a3883
|
Added processing of type aliases.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 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 |
Dimitar Dobrev
|
00e7225a31
|
Fixed a crash caused by class template specialisations parsed just as classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 years ago |
Dimitar Dobrev
|
8d765cec6b
|
Fixed an exhausted stack when parsing deep headers.
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
|
10 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
|
9611e718a8
|
Removed a redundant statement which also caused a crash in Qt#.
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
|
65fc10680a
|
Move SourceLocation to CppSharp.AST.
|
10 years ago |