triton
|
b58a99ebf3
|
Some fixes to the codebase to work correctly with the new parser bindings.
|
12 years ago |
triton
|
e5c85179d2
|
Ignore note diagnostics.
|
12 years ago |
triton
|
0c12ef9bd5
|
Cleaned up some unused usings.
|
12 years ago |
triton
|
da2c6b0602
|
Added indentation support to the logging.
|
12 years ago |
triton
|
24fcf02978
|
Formatting fixes.
|
12 years ago |
triton
|
4af0e2a90e
|
Print the pass name before the diagnostics under debug mode.
|
12 years ago |
triton
|
b808117566
|
Cleaned up the default diagnostics output to be more concise.
|
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 |
triton
|
bd5594df7a
|
Small code cleanups.
|
12 years ago |
triton
|
4aab472af5
|
Fixed driver code to work with the new parser.
|
12 years ago |
triton
|
ed67b741ae
|
Improved error handling of the code compiler code (and minor reformatting).
|
12 years ago |
triton
|
a9f9a5e821
|
Fixed library parsing.
|
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
|
7e2b1fd417
|
Added automatic building of the generated source files.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
71de29790e
|
Added a new pass to check for duplicated vtable components.
This helps workaround some Clang's work-in-progress vftable layouting implementation.
|
12 years ago |
Stephen Kennedy
|
0957843c4d
|
Unify debugging output
Route all debugging output through Driver.Diagnostics
|
12 years ago |
triton
|
c619d67eb6
|
DriverOptions now inherits from ParserOptions instead of providing a member.
|
12 years ago |
triton
|
b409d75bb6
|
Simplified the way generators are created in the driver.
|
12 years ago |
triton
|
3e489c9a06
|
Updated the generators and tests for new class names.
|
12 years ago |
triton
|
2c4ef76f8a
|
Updated the driver to the new ASTContext and SymbolContext classes.
|
12 years ago |
triton
|
0cc9446fe7
|
Refactored the parser class.
|
12 years ago |
triton
|
c5e9008b47
|
Extracted the Options class to its own file.
|
12 years ago |
Dimitar Dobrev
|
f348a80c32
|
Moved the improved property pass to a new class. Added the list of verbs as a resource in premake.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
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
|
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 |
triton
|
91508c9b0b
|
Reworked the SharedLibraryName option to return the LibraryName as default value if not set.
|
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
|
6ef578cd6a
|
Removed the generation of protected members of interfaces.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
37f09c04ef
|
Added a pass to generate interfaces with the purpose of simulating multiple inheritance.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
7dde8df3e1
|
Generated the inlines only when using the C# back-end because the CLI one does not need them.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
083dc3a9f8
|
Improved the generation of indexers by removing const overloads of []. NOTE: did that by removing the method type check in the pass for ambiguous overloads.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f38fa134e4
|
Added an option for an encoding.
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
|
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
|
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 |
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
|
6d2c0eaed8
|
Generated internal implementations of abstract classes in a new pass.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
c66c34d4a9
|
Renamed the CLI language generator kind to be more uniform.
|
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
|
871a05511c
|
Added a new pass that checks for ambiguous overloads.
|
12 years ago |
triton
|
caeb1d2f67
|
Added new pass CheckVirtualOverrideReturnCovariance that checks if a pair of return types in overriden methods are covariant according to the C++ standard.
|
12 years ago |
triton
|
7f8f9289a1
|
Run CheckOperatorsOverloadsPass under both backends.
|
12 years ago |
triton
|
14dbe76e9d
|
Run CleanInvalidDeclNamesPass earlier because some later passes need the names to be cleaned up.
|
12 years ago |
triton
|
5ada754d72
|
Reworked MoveOperatorToClassPass to be simpler and correct.
|
12 years ago |
triton
|
6b0cb59f8a
|
Added RunPasses to PassBuilder and change existing code to use it.
|
12 years ago |
triton
|
62015b08e4
|
Added some helper properties to check generator kind.
|
12 years ago |