triton
|
df01104ab7
|
Fixed GetFunctionNativeIdentifier to work with function operators.
|
12 years ago |
triton
|
a964df9069
|
Renamed HiddenStructureReturn to IndirectReturnType as it is a lot more clear.
|
12 years ago |
triton
|
5586acdbaf
|
Added accurate return and argument type ABI information by querying Clang's code gen layer for the correct information. This does add a lot of extra dependencies on LLVM and Clang libraries.
|
12 years ago |
triton
|
5ea71589a8
|
Extract diagnostic handling to a method.
|
12 years ago |
triton
|
7767d94281
|
Added some overloads to emit debug diagnostics.
|
12 years ago |
triton
|
d7541960c4
|
Moved operators parsing from methods to functions since functions can also be operators.
|
12 years ago |
Dimitar Dobrev
|
a9d8e8bf03
|
Removed the hard-coded "__" from the CLI back-end.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
5208fafef7
|
Moved GeneratedIdentifier to the base Generator so that the former is available to all back-ends.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
fe1387331d
|
Removed a hard-coded "__".
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
cd65094792
|
Fixed the generation of virtual tables to use the new format of internal generated identifiers.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
7971d0a33e
|
Fixed the generation of unions by considering all unions non-reference types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
bf2dfd375c
|
Fixed the "ret" conflict in the CLI back-end as well.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
8312ff0a20
|
Removed the hard-coded "ret" variable.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
01d3779e2b
|
Corrected the generation of the native constructor when in a structure.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
64fb8ecbc0
|
Used the qualified identifier when allocating return values, to handle nested types.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
f163ceac63
|
Replaced an expression with a variable so that the & operator works.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
712a3904a6
|
Removed the "protected" modifier of setters when in a structure. Changed a generated local variable to a non-conflicting name.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
cd8d893601
|
Fixed the class containing context functions to be unsafe.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
b495c77a64
|
Set the driver property in TranslationUnitPass when adding new passes.
|
12 years ago |
triton
|
6b0cb59f8a
|
Added RunPasses to PassBuilder and change existing code to use it.
|
12 years ago |
triton
|
fb481baf7d
|
Fixed return of structures by value in C# backend similarly to the CLI backend by using copy constructors if the class has any non-trivial ones, or just copying memory directly if the class only has trivial ones.
|
12 years ago |
triton
|
9dfb30265e
|
Simplified GetFunctionIdentifier and GetFunctionNativeIdentifier.
|
12 years ago |
triton
|
02f5d0731a
|
Classes in AST now keep if they have non trivial copy constructors.
|
12 years ago |
triton
|
62078d449e
|
Simplified generated code dealing with hidden structure parameters.
|
12 years ago |
triton
|
d8adef816b
|
Copy constructor P/Invokes are now generated in C# backend.
|
12 years ago |
triton
|
3f93eb4b0e
|
Added P/Invoke helpers for unmanaged-unmanaged memory copies.
|
12 years ago |
triton
|
e29bc41a59
|
Fixed value returns of classes bound as reference types in CLI backend.
|
12 years ago |
Dimitar Dobrev
|
8bea49599a
|
Fixed the check for duplicate names to ignore hidden return parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
4f1eba905f
|
Moved all operators not belonging to a type to the type of their first parameters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
43d01854a2
|
Fixed a regression causing a crash as some functions with no symbols are allowed to reach code generation.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
b65ae11a5c
|
Fixed FindSymbolsPass to not ignore declarations in CLI generator.
|
12 years ago |
triton
|
62015b08e4
|
Added some helper properties to check generator kind.
|
12 years ago |
triton
|
7d1bf939f5
|
Remove unused usings.
|
12 years ago |
triton
|
523e8d7989
|
Fixed issue with signed enum constants with tests.
|
12 years ago |
triton
|
d138661a86
|
Respect the CheckSymbols driver option in FindSymbolsPass.
|
12 years ago |
triton
|
b80a395998
|
Reworked the tests base class.
|
12 years ago |
triton
|
a5363e2f6c
|
Added new quiet option in the driver that does not output unnecessary information.
|
12 years ago |
Dimitar Dobrev
|
26c8f9fcd8
|
Properly fixed the generation of members using fixed arrays.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
2063aa2216
|
Fixed the filling of missing operators to account for operator overloads.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
16c13f6a16
|
Remove console buffering hack.
|
12 years ago |
Dimitar Dobrev
|
90732c6ca7
|
Corrected the overloading of << and >> by making sure the second parameter is implicitly convertible to int.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
79f7fb7b11
|
Generate qualified type names in property setters.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
978a400251
|
Removed the "protected" and "virtual" modifiers of "Dispose(bool)" when the containing type is a structure.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
db1c413f87
|
Ensure safe property and variable names.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
66ea1cd62c
|
Ignore any mangled declaration not found in library symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
Dimitar Dobrev
|
9161e58cf8
|
Ignored functions not found in library symbols.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
|
12 years ago |
triton
|
e89d6696d8
|
Added access specifier checking for methods to CheckIgnoredDecls pass.
|
12 years ago |
triton
|
c8e7369d7b
|
Added extra newline in generated output.
|
12 years ago |
triton
|
432dad4692
|
Added nested class enums generation in CLI backend.
|
12 years ago |
triton
|
2df3d0d260
|
Reworked the CLI headers enum generation to use blocks.
|
12 years ago |