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
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
0c7a463740
Extended the searching for classes to check nested classes as well.
...
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
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
triton
a0c366df2b
Removed the arguments vector from FunctionType since we use parameters now.
12 years ago
triton
04a5956dd3
Updated the C++ parser to the latest template fixes.
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
71d9da0733
Used LINQ to simplify the searching.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
df99550a39
Fixed the parsing of function prototypes in cases where the Clang type locator is not available.
...
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
triton
c8b0f515b3
Fixed parsing and marshaling of dependent declarations.
12 years ago
Dimitar Dobrev
3f6b1d33f8
Added names to all parameters in the header for the parser.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
97be1899af
Removed type map matching for declarations.
...
We should only try to do this for types as far as I can tell...
12 years ago
triton
4e9000d591
Changed AST visitor behavior to not visit the regular class of class template declarations.
12 years ago
triton
a0aece8eb4
Formatting change.
12 years ago
triton
9fb7dc57be
Removed unused constructor.
12 years ago
triton
d1629f7a62
Reworked type map matching.
...
We now try to find from the most qualified to less qualified type, and to deal correctly with dependent types.
12 years ago
triton
888c303685
Reworked C++ type printing with different printing kinds (local and global qualification) and support for more declarations.
12 years ago
triton
70122b0568
Fixed function types to provide qualified argument types in the AST.
...
We just parsed the function type "parameters" which does not even make sense from a type system point of view but it's useful in some instances in the generator when function types are "mappable" to function declarations.
12 years ago
triton
7520c25d30
Normalized line endings of CSharpTypePrinter.cs
12 years ago
triton
4d91312e87
Reworked type parsing with dependent information.
12 years ago
Dimitar Dobrev
a51983735f
Extended the look-up for Visual Studio to include VS 2013.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
a4cc125414
Regenerated the C++ parser bindings.
12 years ago
triton
734e03f134
Normalized class / function template parsing between parsers.
12 years ago
triton
e059f5e099
Fixed parsing of enum items to use normal declaration comments.
12 years ago
triton
efc95d35aa
Fixed dependent information parsing for declaration contexts.
12 years ago
triton
55efc0c862
Updated declarations parsing in both parsers to use common declaration handling code.
12 years ago
triton
05877ddcb5
Converted enum items to be declarations in the AST.
12 years ago