Joao Matos
2a53e079aa
Fixed broken class instance check in FunctionToInstanceMethodPass.
...
Fixes https://github.com/mono/CppSharp/issues/1081 .
7 years ago
Dimitar Dobrev
291da4ece3
ed time and memory during generation by skipping methods of most STD classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
8958217314
Sped the test run up by moving the test for ignored system types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
b5c17d98bd
Verified that unused STD types are removed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
0c78ba29f7
Fixed a crash when a comment contains regular text wrapped in <>.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Joao Matos
37bb60b3da
Rework handling of native record creation and add some tests.
8 years ago
Joao Matos
231e164a00
Fixed implicit class record walking in the parser.
8 years ago
Joao Matos
f21d44af77
Fixed template parsing issue with processing of type locs.
...
Fixes https://github.com/mono/CppSharp/issues/964 .
8 years ago
DevSidious
07ea284431
[parser] Added LLVM target initialization and supporting libraries for parsing inline assembly.
...
Fixes #923
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Kimon Topouzidis
910304b702
Removed leftovers in the comments from unsupported custom xml tags. ( #912 )
8 years ago
Kimon Topouzidis
93f5b89b52
Printed the text from unsupported comment tags. ( #911 )
8 years ago
Kimon Topouzidis
e89f7a344e
Refactored the way comments are printed. ( #893 )
8 years ago
Kimon Topouzidis
052b2b3a86
Added support for the Doxygen tag for making bold text. ( #889 )
8 years ago
Kimon Topouzidis
d7c8a61ecc
Manipulated comments to avoid duplication of summary block. ( #876 )
...
Fixes #759 Works around: https://bugs.llvm.org/show_bug.cgi?id=33333
8 years ago
Mohit Mohta
927bd45d63
Added the tests for Symbols ( #833 )
8 years ago
Mohit Mohta
a1af127b56
Updated the tests for Dependencies ( #832 )
8 years ago
Dimitar Dobrev
9dbcc3cc2c
Completed the support for dependent type names.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
71c14cdb2b
Fixed the C++ printing of qualified specializations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
6a43e82047
Fixed the C++ printing of classes nested in specializations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
0f0f6172f0
Fixed the finding of functions to work in name-spaces too.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
8 years ago
Dimitar Dobrev
2531d631c6
Ensured template arguments of specialised functions are read.
9 years ago
Dimitar Dobrev
cef847825a
Exposed constant expressions, friendships and exception specifications of functions in our AST.
9 years ago
Dimitar Dobrev
50ee414799
Fixed the C++ type printer to handle const value types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Joao Matos
013a9e8b4c
Merged IgnoreAbstractOperatorsPass into CheckOperatorsOverloadsPass and added a test.
9 years ago
Dimitar Dobrev
e57ea530e1
Avoided naming conflicts between methods of different specialisations of a template.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
cc2a283c7f
Fixed the completion of templates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
0e344b4b8a
Tested generation of C# comments at run-time.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
fc84e6bf1e
Added reading of dependencies of Mach-O (OS X) binaries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Dimitar Dobrev
a2fd71cc74
Enabled getting of template specialisations when type locations are invalid.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
9 years ago
Abhinav Tripathi
d753c8d637
Moved property IsImplicit to Declaration from Method.
10 years ago
Dimitar Dobrev
1471e6f2fb
Simplified and tested the reading of line numbers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
triton
7624635fa3
Added test for C11's atomic type support added in 54267b88a4
.
10 years ago
Abhinav Tripathi
c7c74e306b
Added CS_INTERNAL macro definition and test.
10 years ago
Dimitar Dobrev
a293984424
Fixed the signatures of const functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
1cb4b22788
Fixed the pass for ambiguity to correctly mark ambiguous functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
993cb82bb7
Revert "Fixed parsing of function signatures with const-qualified return types."
...
This reverts commit 7d5e53e1df
.
Conflicts:
tests/Native/AST.h
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
99c124eb53
Fixed the location of a friendly declaration.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
7d5e53e1df
Fixed parsing of function signatures with const-qualified return types.
10 years ago
Dimitar Dobrev
8505f82ff0
Fixed signatures to include the 'const', if any.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
4385ecac76
Fixed the finding of classes to also check name-spaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
798e086ef9
Added reading of dependencies of ELF libraries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Elias Holzer
79f0d41d5c
Added failing test for the CheckAmbiguousFunctionsPass.
...
Test shows that all methods get ignored instead of just the two const overloads.
11 years ago
Elias Holzer
933df5e65a
Improved support in parser for template classes and functions.
...
* Use clangIndex to identify declarations across translation units.
* Added new Find*ByUSR methods and removed unused Find*(IntPtr) methods.
* Added Depth/Index and IsParameterPack fields to TemplateParameterType.
* Fixed member initialization issues in C++ Method class.
* Added AST tests for function and class templates.
* All tests pass with new and old parser.
11 years ago
Elias Holzer
bd0ec409e9
Fixed adding of enum items in ASTConverter.
11 years ago
Elias Holzer
d1a3141f5b
The unique name set by the CleanInvalidDeclNames pass will now truly be unique across translation units.
11 years ago
Elias Holzer
6fa7077dbd
Moved unnamed enums test to generator tests.
11 years ago
Elias Holzer
b83b5029b0
Added extension method SetPropertyAsReadOnly to ASTContext.
...
The Property.HasGetter and HasSetter method will take the GenerationKind flag of the field/method pair into account.
11 years ago
Elias Holzer
c670148493
The FindTypedef method supports full type names now.
11 years ago
Elias Holzer
487189ebad
Fixed the FindOperator method for classes.
...
Added AST test case and fixed line endings (LF).
11 years ago
Elias Holzer
749e5a399e
Added new property Parameter.Index.
...
Also added test which checks whether both parsers assign the AST parameter properties properly.
11 years ago