triton
e5c85179d2
Ignore note diagnostics.
12 years ago
triton
067b2e841a
Added a new pass to check for special macros known to CppSharp that can control binding behavior.
12 years ago
triton
7037c3dd4b
Whitespace cleanups.
12 years ago
triton
6e0a243322
Cleaned up some diagnostics to debug severity.
12 years ago
triton
0c12ef9bd5
Cleaned up some unused usings.
12 years ago
triton
4d70b60700
Renamed ASTContext parameter from "lib" to "ctx".
12 years ago
triton
a7f9e0bd9f
Check for and ignore decayed types since we cannot handle some cases.
12 years ago
triton
d09d2e9cf6
Simplified the property generation code.
12 years ago
triton
61dc4960f8
Added explicit constraint support to the experimental function templates generation.
12 years ago
triton
da2c6b0602
Added indentation support to the logging.
12 years ago
triton
a8c6e1f140
Fixed a problem with class operators not being correctly promoted to class operators.
...
We need to check all the parameters for a possible class to promote the operators.
12 years ago
triton
a5ebd151cf
Reworked the way we generate constructors and destructors to always use the actual class name.
...
Fixes some problems that might happen with method declarations with names that don't match the their containing class.
12 years ago
triton
0e38a74c13
Removed dependent types checking from type maps.
...
This fixes a regression, more work might still be needed in this area.
12 years ago
triton
c5d1d5d37b
Improved the formatting and diagnostic in ResolveIncompleteDecls pass.
12 years ago
triton
3a74428f94
Fixed delegate generation regression and added some tests.
12 years ago
triton
24fcf02978
Formatting fixes.
12 years ago
triton
db2652c9e4
Fixed the FunctionToStaticMethod pass to make sure we do not apply it when the function and class have different translation units. This can be improved in the future, for which I left a TODO.
12 years ago
triton
6ea0dae444
Improved the rename pass with fixes for visits and minor formatting nits.
12 years ago
triton
8d9e866009
Added support for clearing declarations between visits and fixed some passes that need it.
12 years ago
triton
f743db743d
Reworked and improved checking of ignored declarations.
...
It improves the logic to work when certain options are enabled. We would previously accept some declarations that should be ignored.
12 years ago
triton
5817f58cd4
Fixed all passes for the new ASTVisitor behavior.
...
Added ignore and method checking code to the MoveFunctionToClass pass.
12 years ago
triton
dbac9e36fa
Fixed the generator to use blocks for templates and variables.
...
Fixes wrong whitespace between those declarations.
12 years ago
triton
a1c4885610
Fixed the output of forward references in CLI headers.
...
We now use a sorted set to prevent duplicated references and have a stable ordering.
12 years ago
triton
ede3149a41
Reworked the CLI type references functionality.
12 years ago
triton
f0cb4b4c51
Reworked the ASTRecord functionality.
12 years ago
triton
e7d3ad12a7
Fixed wrong comment.
12 years ago
triton
24b81c3a35
Remove an unused constructor.
12 years ago
triton
872cd1c812
Add the method to the marshaling context when handling value type ctors.
...
This fixes a marshaling regression with extra erroneous "&" which was caused by the fix done a couple days ago.
12 years ago
triton
4af0e2a90e
Print the pass name before the diagnostics under debug mode.
12 years ago
triton
4289633dcf
Fixed CLI newline behavior for some declarations.
12 years ago
triton
eaa5f8e708
Improved the diagnostic for ignored fields.
12 years ago
triton
e835d5086a
Remove useless code.
12 years ago
triton
62f81e16f1
Reworked pointer marshaling in C# and CLI.
...
We are now more consistent between backends, specifically we need to make sure
to avoid directly visiting the desugared type since we might lose type maps when
handling typedefs.
12 years ago
triton
b5e947881b
Fixed the generation of 'ToInternal' to check for null only fields of a ref type.
...
Part of the patch by @ddobrev .
12 years ago
Dimitar Dobrev
d583b489a3
Fixed the returning of empty values when the returned type is a structure.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
c5f2acacc6
Fixed the wrapping of instance operators to account for fixed instances.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
06b83ee3fc
Changed the generation of method bodies to avoid duplication of local variables when a fixed instance is required.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
b808117566
Cleaned up the default diagnostics output to be more concise.
12 years ago
triton
6402c3ca55
Added support for C++ attributed types to the parser, AST ,generators and tests.
12 years ago
triton
344fdc4ea1
Fixed line endings.
12 years ago
triton
c407f7d87f
Fixed type ignore checking for template types with type maps.
12 years ago
João Mares
537ceda774
bug fixes
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
1473488289
Added a pass to move functions to an appropriate existing class if possible.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
f6e0453744
Revert "Fixed function types to provide qualified argument types in the AST."
...
This reverts commit 70122b0568 .
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
Dimitar Dobrev
5234be8068
Ignored members that are of a template specialisation type, for the time being.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
3268c76293
Fixed the regression of function types being wrapped with empty argument names.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago