Dimitar Dobrev
315e3e50f3
Fixed the naming of multiple anonymous types in a union.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Abhinav Tripathi
f81247911b
Fixed compilation issues when nesting more than one anonymous types.
10 years ago
Dimitar Dobrev
3d72c2fca4
Added renaming of variables.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
88293d5c84
Fixed invalid names of static field (variables).
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
3c7c19ffc0
Fixed the generation of anonymous types to consider parenting anonymous types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Elias Holzer
d1a3141f5b
The unique name set by the CleanInvalidDeclNames pass will now truly be unique across translation units.
11 years ago
marcos henrich
7125109e3f
Deprecated ExplicityIgnored use ExplicitlyIgnore(). Getting ExplicityIgnored and setting ExplicityIgnored to false don't make much sense anymore.
...
Conflicts:
src/Generator/Passes/CheckOperatorsOverloads.cs
11 years ago
Dimitar Dobrev
85e56de487
Applied Helpers.SafeIdentifier in the name-cleaning pass in order to get correct names in type maps.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
c464635428
Fixed invalid declaration name cleaning to maintain proper ordering in events and function types.
12 years ago
triton
80938b7937
Attempt to fix the tests by using a less broad fix for the unique names problem.
12 years ago
triton
c842d73243
Fixed invalid declaration name cleaning.
...
It could happen that by visiting the types of declarations, we'd wrongly reset the unique names counter. In this specific case, this was happening while visiting an event and its parameters.
12 years ago
triton
24b81c3a35
Remove an unused constructor.
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
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
Dimitar Dobrev
348c3db122
Fixed the v-table interop to be compilable.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
a3bc0491f9
Assumed types with empty names (that is, "struct { ... };") to be private.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
marcos henrich
0cf8c03aa3
PassBuilder is now generic. Driver Passes is now called TranslationUnitPasses. Added to driver GeneratorOutputPasses. Removed most of the PassBuilder Extensions.
12 years ago
triton
68ddfbdd6f
Move the AST project to the CppSharp.AST namespace.
12 years ago
triton
cc8f7cd1db
Renamed Cxxi references to CppSharp.
12 years ago
triton
a20ba4ce78
When cleaning up names, zero out the unique name index to have cleaner and deterministic output between runs.
12 years ago
triton
3b3af70cc3
Use a different method to ignore namespaces in CleanInvalidDeclNamesPass.
...
If we override the VisitNamespace we would need to duplicate the logic of walking through them and their declarations would not get processed.
12 years ago
triton
ade3a7442b
Do not clean up the names of namespaces since it can lead to invalid results.
12 years ago
triton
bafbbaf90b
Added a new pass to check for type references.
13 years ago
triton
bf38d80af8
Update the existing passes to use the new pass interface.
13 years ago
triton
d53f313121
Improved class checking in the type references visitor.
13 years ago
triton
e9129ed27f
Reworked the declaration ignore system so we can still process declarations as part of type maps even if they do not have mirror classes generated.
13 years ago
triton
0c376f66a6
Use the new type references unit convention.
13 years ago
triton
f1c6c7b58f
Added support for cleaning up the names of enum items (and a test).
13 years ago
triton
bb8a8a5f02
CheckEnumName can be made static.
13 years ago
triton
657bd32e7b
Moved enumeration name clean up code out of Transform.cs and into the CleanInvalidDeclNames pass.
13 years ago
triton
847b603161
Added a pass to clean up invalid declaration names.
13 years ago