triton
|
3a891950df
|
Remove useless code.
|
12 years ago |
triton
|
8135983b58
|
Formatting fixes.
|
12 years ago |
triton
|
6bf0ae980c
|
Changed attributed types test to be CLI-only for now since Clang currently fails with some mangling bugs.
|
12 years ago |
triton
|
6402c3ca55
|
Added support for C++ attributed types to the parser, AST ,generators and tests.
|
12 years ago |
triton
|
a766ba7255
|
Added tests for C++ STL vectors.
|
12 years ago |
Dimitar Dobrev
|
6dcb8fa593
|
Added the option to have attributes generated.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
3cf6c7b3f1
|
Added a test for the pass that moves functions to a class.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
df99550a39
|
Fixed the parsing of function prototypes in cases where the Clang type locator is not available.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2b77361d89
|
Reverted the hack about filling the empty names of parameters explicitly for function types. Added tests for this regression and another one caused by the changed around the introduction of FunctionType.Arguments.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
1133b6c935
|
Fixed delegate generation problem.
|
12 years ago |
triton
|
5fbfbac8f4
|
Small cleanup.
|
12 years ago |
triton
|
fed9031775
|
Fixed support for C++ conversion operators.
|
12 years ago |
triton
|
4a29db6bcd
|
Revert "Fixed bug caused by a type in the new parser."
This reverts commit f1f6c2e5e9 .
|
12 years ago |
triton
|
f1f6c2e5e9
|
Fixed bug caused by a type in the new parser.
|
12 years ago |
Dimitar Dobrev
|
79883199f5
|
Prevented the renaming of constructors if there is duplication of names.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
84fba50cf6
|
Extended the searching for type maps to try both qualified and unqualified names and both full template declarations and just templated types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
511957882a
|
Fixed the C++-printing of templated types not to append an additional "::".
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9d1687dbc4
|
Improved the property generation by matching with an "is" prefix for read-write properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ae1351d2b5
|
Improved the property generation by matching with an "is" prefix for read-write properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
8a502835f7
|
Added a check for 'null' before getting the native pointer of a wrapped object.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
7ecafc9858
|
Prevented renaming of methods when a base class has a property of the same name. Made the delegates used in abstract implementations prefixed with an underscore and internal.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
47f03ae68c
|
Added tests about the dereference and prefix/postfix operators. Fixed multiple inheritance not to include operators in interfaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9deaa403bc
|
Fixed a crash when setting up v-tables.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
961316f96d
|
Fixed the new tests for properties to work around the existing unrelated bug of incorrect field values.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
501f123277
|
Removed a check for const-ness because of a parser bug. Added tests for properties of complex types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
44ce759a33
|
V-table method delegates need to take into account same-named overloads.
Fixes #88.
|
12 years ago |
Stephen Kennedy
|
6cff480f2b
|
Update test with method which should appear in "Derived"
|
12 years ago |
Stephen Kennedy
|
4b782d7af3
|
Add a test case for the Curiously Recurring Template Pattern
|
12 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
|
07c5f7339f
|
Simplify the tests Main method.
|
12 years ago |
triton
|
d114ac0f0e
|
Renamed LanguageGeneratorKind to GeneratorKind.
|
12 years ago |
triton
|
3e489c9a06
|
Updated the generators and tests for new class names.
|
12 years ago |
Dimitar Dobrev
|
19bae92f9b
|
Added a fake option so that the build stays healthy since the C++/CLI-back-end does not properly support properties yet.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fcb1ab67ca
|
Added tests for properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
824d8b5f30
|
Rewrote the generating of properties to additionaly handle property overrides and read-only properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
8a61ee71d9
|
Added tests for the changes in the renaming pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
acbdf7d82a
|
Added a test for fixed arrays which showed that setting actually worked incorrectly.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
159a65d6bb
|
Fixed a bug with multiple inheritance and an indirect return type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
444a6e639f
|
Fixed the generation of fields of a type def type by correctly desugaring.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
5b6beaaf33
|
Added a test about operators in nested classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2091d71242
|
Added a test about the type def - to a function pointer - incorrectly resolved to void*.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
88d5192684
|
Wrapped conversion (cast) operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
07beb47048
|
Converted return types to their complementary interfaces, if any.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
3a9eef1e80
|
Added a new pass converting all parameter types to their respective interfaces, if any.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
d7a91d1719
|
Added a fake option for multiple inheritance so that the build stays healthy.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f07ddf79fc
|
Replaced the vague checks for explicit interface impls with a specific property.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
c9e5c0d505
|
Completed the parallel hierarchy of interfaces so that a derived class can access the members of all of its bases.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
068cf51165
|
Added explicit implementation of interface properties (when necessary).
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f5304e69bb
|
Completed the support for multiple inheritance with the exception of base interfaces and the cast operator in the derived class to the second or later base.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
6bbe864a2c
|
Removed enum class in the new nested type test since it's not supported by VS2010.
|
12 years ago |