Dimitar Dobrev
c586529398
Added a property to the event to contain the declaration it wraps.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
dd317c6987
Ignored the case when matching methods because of the bug about non-shared v-table entries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
7ecafc9858
Prevented renaming of methods when a base class has a property of the same name. Made the delegates used in abstract implementations prefixed with an underscore and internal.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
0e37a62726
Changed the check whether to invoke a property in the v-tables to work around the non-shared methods in v-tables. Set the function signature to an empty string rather that null by default.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Stephen Kennedy
00bf3714ca
Hack to silently ignore non-class base class (e.g. templates etc)
12 years ago
triton
a4c8883244
Formatting change.
12 years ago
triton
61431f8595
Added default constructor to TranslationUnit.
12 years ago
triton
d5e48425da
Added missing class TypeReference.
...
Should have been added back in b91ac99576 .
12 years ago
triton
a3c1285297
Added a new class SymbolContext that provides native library symbol management.
12 years ago
triton
437f2aff87
Renamed Library functionality to ASTContext.
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
triton
8afb0acd19
Added Signature property to functions that provide the original function signature as accurately as possible from the original source.
12 years ago
triton
57ff6bb78c
MinGW/OSX build fixes.
12 years ago
triton
051f6dceab
Added System.Core .NET assembly for Linq dependency.
12 years ago
Dimitar Dobrev
824d8b5f30
Rewrote the generating of properties to additionaly handle property overrides and read-only properties.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
bc33de5ddd
Added parser support for deleted functions.
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
Dimitar Dobrev
88d5192684
Wrapped conversion (cast) operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
593aac162e
Added a new class type "Interface".
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
1962751cb8
Stored the original class in its interface replacement used with multiple inheritance.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
de9f1056bc
Changed the copy constructor of properties to make a shallow copy.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
ffbc5fbf15
Fixed the check for duplicates to account for explicit impls. Fixed the getting of a root base method and property to consider the parameter for all bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
f07ddf79fc
Replaced the vague checks for explicit interface impls with a specific property.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
c9e5c0d505
Completed the parallel hierarchy of interfaces so that a derived class can access the members of all of its bases.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
5e9de92b78
Fixed a bug in the getting of the root base method: the bases after the first one were ignored.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
068cf51165
Added explicit implementation of interface properties (when necessary).
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
f5304e69bb
Completed the support for multiple inheritance with the exception of base interfaces and the cast operator in the derived class to the second or later base.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
João Matos
7599ebd555
Changed the declaration default access specifier to be public.
...
This fixes some problems with CheckIgnoredDeclsPass that ignores declarations that are not public, which .
13 years ago
Dimitar Dobrev
6f3224ca60
Changed writable indexers of primitive types to use the types themselves instead of pointers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
b82aebab3a
Added support for writing using indexers.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
54c93f4d91
Added support for read-only [] operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
triton
8a1cb28cd0
Fixed resolving of incomplete enum declarations.
13 years ago
Dimitar Dobrev
2848ee7453
Fixed a regression causing a run-time crash with moved operators.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
a15c5b8f99
Fixed the check for ignoring to verify the access at the declaration level.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
840e3c93cf
Corrected the access modifier of overridden methods because in C++ overriding may change access.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
b9f1ecb715
Changed the parameter type comparer to work with qualified types because overriding cannot change the qualification of types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
1c793ef589
Commented the pass about internal impls of abstract classes. Cosmetic fixes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
7d3ee70a73
Renamed AbstractImplementationsPass to GeenrateAbstractImplementationsPass.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
9ef6fdc740
Separated the logic for abstracts impls into small functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
9752096a4c
Fixed a bug in MS mode and added a test.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
triton
3b63a1a2be
Added default constructors triviality information to the AST.
13 years ago
triton
871a05511c
Added a new pass that checks for ambiguous overloads.
13 years ago
triton
2ae4f02edd
Check for typedefs in HasDeclarations.
13 years ago
Dimitar Dobrev
1a293f8965
Added copy constructors to some of the AST classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
Dimitar Dobrev
bb07a294f4
Ignored private types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
triton
02559ed193
Added better support for unary operators.
13 years ago
triton
a4f1606956
Added better support for unary operators.
13 years ago
Dimitar Dobrev
1fc9880be9
Generated the correct calling convention in the UnmanagedFunctionPointerAttribute of delegates.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
13 years ago
triton
5ada754d72
Reworked MoveOperatorToClassPass to be simpler and correct.
13 years ago
triton
f7be1cb5e7
Added original function property to keep the original function where this one was synthetized from.
13 years ago