triton
7c3da1005e
Minor documentation fixes.
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
a5362af730
Improved visited checking in the ASTVisitor.
...
Since this is a pretty common pattern, this factors the visited checking of declarations inside the
VisitDeclaration overload. Because of this, we need to make sure we call VisitDeclaration is called (only once) instead of AlreadyVisited.
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
c979342ea6
Moved the TranslationUnit property from DeclarationContext to Declaration.
12 years ago
triton
340b24b7f7
Fixed parsing of comments for enum declarations.
12 years ago
triton
6bd549c27d
GCC compilation fixes.
12 years ago
triton
e7ab3ded16
Fixed wrong usage of token pasting operator ##.
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
677ca81154
Fixed regression in parsing of preprocessed entities.
...
Specifically we now store the pointer of the original declaration and check for duplicates.
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
7b951c1506
Remove unused constructors.
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
João Matos
1a20f9ace4
Merge pull request #135 from ddobrev/master
...
Fixed the returning of empty values when the returned type is a structure
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
João Matos
7cbe87332b
Merge pull request #134 from ddobrev/master
...
Extended the searching for classes to check nested classes as well
12 years ago
Dimitar Dobrev
0c7a463740
Extended the searching for classes to check nested classes as well.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
João Matos
430e99a914
Merge pull request #133 from ddobrev/master
...
Fixed the wrapping of instance operators to account for fixed instances
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
João Matos
17e618cf28
Merge pull request #132 from ddobrev/master
...
Changed the generation of method bodies to avoid duplication of local variables when a fixed instance is required
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
João Matos
9211d414b1
Merge pull request #131 from ddobrev/master
...
Added building support for x64 and VC++ 12
12 years ago
triton
3a891950df
Remove useless code.
12 years ago
triton
8135983b58
Formatting fixes.
12 years ago
Dimitar Dobrev
64d825fcde
Added building support for x64 and VC++ 12.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
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
b808117566
Cleaned up the default diagnostics output to be more concise.
12 years ago
triton
7b30906cd6
Added more robust parsing for type locs when parsing functions.
...
(last commit test should also trigger this)
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