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
triton
f1755f6d46
Reworked template parsing with support for specializations and partial specializations.
...
Fixes #121 .
12 years ago
triton
b91ac99576
Reworked the CLI type references collector and generation code.
...
We now properly handle type references to namespaces that do not exist in the referencing translation unit. We do this by collecting all the references for all namespaces in the translation unit and generate a block with all the forward references.
12 years ago
Dimitar Dobrev
813084948f
Fixed the resolution of overloads for conversion operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
triton
2ae4f02edd
Check for typedefs in HasDeclarations.
13 years ago
triton
cd08295499
Use a map to keep track of anonymous declarations else we cannot refer to them later when needed.
...
This could lead to self-referencing problems when parsing (and stack overflows!).
13 years ago
marcos henrich
2ea69f1a67
Added return null to method FindClass when parameter class name is null or empty
13 years ago
triton
68ddfbdd6f
Move the AST project to the CppSharp.AST namespace.
13 years ago
triton
c488dcbfde
Prefix all the libraries and project names with CppSharp.
13 years ago
triton
a19381df38
Fixed FindClass to work with qualified names.
13 years ago
triton
95418f79ab
Fixed FindEnum to work with qualified names.
13 years ago
triton
cf002fb007
FindNamespace now takes an IEnumerable instead of array.
13 years ago
triton
e57c435426
Fixed some incorrect behavior with nested types in the CheckAmbiguousOverloads pass by fixing GetFunctionOverloads to be dynamically dispatched instead of using some weird manual type checking.
13 years ago
triton
e1ac13601c
Added a new abstract class DeclarationContext that acts as a container for declarations and make Class and Namespace inherit from it.
13 years ago
triton
cc8f7cd1db
Renamed Cxxi references to CppSharp.
13 years ago
triton
09b26a691f
Provide an helper method to get the overloads of a function.
13 years ago
triton
f424575db5
Moved namespace splitting code to the canonical FindClass method.
13 years ago
triton
9f029047ad
Added parsing, AST and visitor stubs support for (class static) variables.
13 years ago
triton
3c07a324a8
Improved the logic for checking for (nested/qualified) namespaces.
13 years ago
triton
70eeebb9f1
Remove the redundant Parent property of the namespace and just use the Namespace property from the declaration.
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
08f95fc509
Do not create a class declaration if one is not found.
13 years ago
triton
b8ebd27841
Added namespace walk support.
13 years ago
triton
df61ea6041
Classes now try to keep accurate track if they were complete / forward referenced at the time of referencing.
13 years ago
triton
f5fcef50f1
Massive update to the codebase.
...
- Removed reliance on T4 text templates that were proving to be a portability problem.
- Refactored the generator design to make a little more sense.
- Moved the examples to their own projects.
- Improved the build system to only use one unified output folder.
- Added much improved template support.
- Added work-in-progress C++/CLI generator backend.
- Added the concept of type maps.
13 years ago
triton
8f5464c6df
Added support in Namespace.cs to store typedefs.
14 years ago
triton
e7f337f99c
Added support for nested namespaces in Namespace.cs.
14 years ago
triton
d474f0a04f
Added a bridge project containing the managed files bridging the native Clang parser.
14 years ago