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
triton
f5992a970c
Removed old unused unit tests.
11 years ago
Dimitar Dobrev
20c6e04cd0
Fixed the ignoring of methods.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
1dcd8211fa
Removed CLI type printer unit tests.
...
The code paths are already being exercised with the regular tests.
12 years ago
triton
2c90cd47e0
Update the passes test source file.
12 years ago
triton
82508bff14
Added the missing enum macros needed for testing the latest commit.
12 years ago
triton
2a4c3481d1
Added some tests for passes.
12 years ago
triton
6fc5eb48e3
Added a set of tests for type printing in the C++/CLI backend.
13 years ago
Alexander Corrado
bf12d1cd84
Mangling support for namespaces; generate MangleAs attribute on interfaces
14 years ago
Alexander Corrado
d1231ca335
Stub in mangling tests with a failing Itanium compression test case.
14 years ago
Alexander Corrado
ec4699bed2
Test when an inherited virtual member is overridden and listed in a derived class's interface definition
...
This was causing problems because the method is not repeated in the primary vtable (it shows up in the position expected by the base class), but CppAbi does not know that it is inherited until after the impl has been emitted, so it emits the index that it is listed in the derived class.
Note that the generator only does this with virtual destructors (since we never call these virtually).
14 years ago
b236465941
Add ByRef attribute for value types returned by ref and failing test
14 years ago
Alex Corrado
997f43cd73
Add failing CppField test
14 years ago
Alex Corrado
1a404682f0
Update roundtripping test to also test native ptr to non-primary base
14 years ago
Alex Corrado
0210644c4d
Give test suites more general names
14 years ago
Alex Corrado
0febce15f3
Begin hacking on per-instance vtptr. More failing tests.
14 years ago
Alex Corrado
601ef7f28f
Add failing virtual dispatch tests
14 years ago
Alex Corrado
9fb8aee0a9
Minor improvements to virtual dispatch tests
14 years ago
Alex Corrado
6ff42bca4d
Add tests for virtual dispatch and inheritance
14 years ago
Alex Corrado
3ad3fd8923
A little more test reorganization. They all pass now.. HOORAY!
14 years ago
Alex Corrado
fa8dde405d
Integrate all tests to use NUnit. Get tests building / running.
14 years ago
Alex Corrado
19e8cb3d2b
Clean up and reorganize source tree.
...
+ Consolidate tests; remove src/CPPTestLib, src/Tests, tests2 directories.
+ Move MD solution to root dir.
14 years ago