Dimitar Dobrev
|
1532f7d0bf
|
Moved the changing of access modifiers of constructors of abstract classes to the pass for internal implementations of abstract classes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
74ec730811
|
Some reordering of code and improved logging.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
faa32abe20
|
Ensured the directory to write the C++ file wrapping inlines, exists.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fddcea0405
|
Fixed the regression caused by methods always returning null regardless of the return type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
453dc26964
|
Fixed the generation of complement operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2f7934569e
|
Added tests for overrides changing access and for protected fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2848ee7453
|
Fixed a regression causing a run-time crash with moved operators.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
b92897c50e
|
Fixed the access of properties generated from fields.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
a3bc0491f9
|
Assumed types with empty names (that is, "struct { ... };") to be private.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
a15c5b8f99
|
Fixed the check for ignoring to verify the access at the declaration level.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
de8b3fc00e
|
Corrected the checks for private methods because overrides must be allowed through regardless of access.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
840e3c93cf
|
Corrected the access modifier of overridden methods because in C++ overriding may change access.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
bb14da5a0c
|
Fixed the moving of operators to classes to discard the original name space and function.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
22355f64ed
|
Corrected the access modifiers of methods, delegates and properties.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
42a1af6503
|
Added a pass for generating wrapper code and definitions for inlines and an option for the name of the lib with inlines. Ignored non-tag indirect return types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
b6d4f0f97b
|
Fixed a regression caused by the returning of null.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
ec92508726
|
Moved the finding of symbols after the custom passes. Gave a default value to the output dir.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
João Matos
|
5e710a3912
|
Update README.md
Published binaries for Windows VS2012 (32-bit).
|
12 years ago |
João Matos
|
a6e98649d5
|
Merge pull request #53 from ddobrev/abstract_implementations
Abstract implementations
|
12 years ago |
Dimitar Dobrev
|
1a33dc6964
|
Documented the addition of internal implementations to the respective unit.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
b9f1ecb715
|
Changed the parameter type comparer to work with qualified types because overriding cannot change the qualification of types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
1c793ef589
|
Commented the pass about internal impls of abstract classes. Cosmetic fixes.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
816c946790
|
Added a hard-coded for the time being option indicating whether the wrapped lib is 32-bit and used that option to generate the v-table offsets.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
19cb1f5470
|
Added an off by default option for generating abstract implementations because the MS ABI branch does not always work.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
7d3ee70a73
|
Renamed AbstractImplementationsPass to GeenrateAbstractImplementationsPass.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9ef6fdc740
|
Separated the logic for abstracts impls into small functions.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
463864e71c
|
Moved the generation of a virtual table call to a separate function, for independence on back-ends.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
449777e245
|
Replaced a hard-coded variable name.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
dfff92bb9f
|
Moved the getting of the access of a class as a string to a separate function.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
496d323e65
|
Updated the test code for abstract impls woth more pure functions. However, the test now fails so it is ignored for the time being.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
da6887ff07
|
Fixed the allocation of internal abstract implementations, and fixed their constructors to take a pointer to the abstract type.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
4cfcfa1b16
|
Corrected the implementation of abstract methods to properly handle classes, instance arguments and indirect return types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9752096a4c
|
Fixed a bug in MS mode and added a test.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
06e69225b9
|
Implemented the MS branch of the abstract implementations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
a3869c95c5
|
Generated the proper return statements in the abstract implementations.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
6d2c0eaed8
|
Generated internal implementations of abstract classes in a new pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
5cbeadee17
|
Added an ignore rule for Make-based builds which we will have with the upcoming porting work.
|
12 years ago |
triton
|
d10aed5d01
|
Removed out-of-date building instructions.
|
12 years ago |
triton
|
e0a2624370
|
Removed unused using.
|
12 years ago |
triton
|
f5622306b6
|
Fixed CLITypeReferenceCollector to work correctly with nested namespaces.
Fixes a problem generating the upcoming CLI-free C++ parser.
|
12 years ago |
triton
|
14718b915f
|
Added a ToString() to CLITypeReference for better debug output.
|
12 years ago |
triton
|
10ab05009d
|
Removed unused config file.
|
12 years ago |
triton
|
701734388c
|
Added a ToString() method to ASTRecord to get better debug output.
|
12 years ago |
triton
|
94d58399dd
|
Removed some unused debugging code.
|
12 years ago |
triton
|
17a8a4cbdc
|
Fixed generation of native object instantiation to use the original names.
|
12 years ago |
triton
|
c66c34d4a9
|
Renamed the CLI language generator kind to be more uniform.
|
12 years ago |
triton
|
d4f28bb049
|
The check for code gen info is now a bit more robust.
|
12 years ago |
triton
|
c93e77166c
|
Added a new option GenerateInternalImports that outputs "__Internal" as the library name for DllImports. Fixes #54.
For more details about what it does: http://www.mono-project.com/Embedding_Mono#Exposing_C_code_to_the_CIL_universe).
|
12 years ago |
triton
|
aff25384fe
|
Updated the parser to work with calling convention changes introduced in the latest Clang revisions (r189412).
|
12 years ago |
triton
|
365862419e
|
Fixed support for classes with trivial default constructors.
|
12 years ago |