triton
|
751e0da4e3
|
Keep the original pointer that originated the AST declaration node and check if we have already processed the method in WalkMethodCXX (if so, just return the already existing declaration).
We depend on this to get the right method instance when walking through the vtable methods.
|
12 years ago |
triton
|
0926734f38
|
Walk the vtable further down after all the child declarations of the class have been processed so that we find the proper methods once we walk the vtable components.
|
12 years ago |
triton
|
d0f7f81e5a
|
Added IsVirtual data to methods.
|
12 years ago |
triton
|
752cfa4869
|
Added IsDynamic and IsPolymorphic data to classes.
|
12 years ago |
triton
|
bc1e08aba9
|
Remove the OpenCV example.
|
12 years ago |
triton
|
7dacbce44d
|
Check if all overloads actually exist before gathering them for internal function processing.
|
12 years ago |
João Matos
|
85e6c9e2f0
|
Merge pull request #17 from esdrubal/postProcessPasses
TranslationUnitPasses GeneratorOutputPasses
|
12 years ago |
marcos henrich
|
3f0a188ea6
|
CppTypePrinter now prints parameter declaration type.
|
12 years ago |
marcos henrich
|
f3045ea6c8
|
Generated code for equals override now checks if the dynamic_cast does not return null.
|
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 |
marcos henrich
|
cc29233b2b
|
CheckFlagEnumsPass class is now public so it can be used in tests.
|
12 years ago |
triton
|
8ee674697d
|
Add dummy GetHashCode implementations.
|
12 years ago |
triton
|
ac49d1796b
|
Remove assert temporarily as it causes some relatively harmless assertions in debug mode in some special cases.
|
12 years ago |
triton
|
d8f4ea7076
|
Be more careful when handling type locations in WalkType and check for validness before each use.
|
12 years ago |
triton
|
63c3d96e9a
|
Revert "Fixed handling of template methods processing."
This is not the right way to fix the issue and was causing a lot of other parsing problems...
This reverts commit 463730baeb .
|
12 years ago |
João Matos
|
ffa17896d8
|
Merge pull request #16 from esdrubal/properties
Better CheckDuplicatedNamesPass, GetterSetterToPropertyPass
|
12 years ago |
marcos henrich
|
0c97842a8b
|
Check if clang SVN_REVISION is greater than 187409 before trying to use MicrosoftVFTableContext.
|
12 years ago |
marcos henrich
|
90efc99083
|
CheckIgnoreField has only one parameter now
|
12 years ago |
marcos henrich
|
b0d9e8b088
|
Fixed FunctionToInstanceMethodPass not skipping first method parameter.
|
12 years ago |
marcos henrich
|
83ac0cdf71
|
Changed comment
|
12 years ago |
marcos henrich
|
b1390894e0
|
Added missing new lines.
|
12 years ago |
marcos henrich
|
ddfcf291df
|
CLI generator needs first function parameter.
|
12 years ago |
marcos henrich
|
a45dbc7655
|
Fix template function generation. Return type should be created in TypePrinter.
|
12 years ago |
marcos henrich
|
feef6ee80d
|
Removed class parameter from CheckIgnoreFunction, CheckIgnoreMethod and CheckIgnoreField from recent commits.
|
12 years ago |
marcos henrich
|
57ce9d449d
|
Removed class parameter from CheckIgnoreFunction, CheckIgnoreMethod and CheckIgnoreField.
|
12 years ago |
marcos henrich
|
777de80c3b
|
Resolved ambiguous type Type.
|
12 years ago |
marcos henrich
|
ca569eb334
|
Better template function generation, less manual fixes are needed after generation.
|
12 years ago |
marcos henrich
|
5c7bbe1bc0
|
Added CheckIgnoreDecls to the to pre passes, so user added passes already have some declarations ignored.
|
12 years ago |
marcos henrich
|
12daa4980c
|
Added CheckDuplicatedNamesPass that check all class members names for duplicated names. When a non function member has an already used name a number is append to its name. When a method is found with a know signature a number is append to its name. The appended number for each method overload is independently incremented, others members appended number start at the most overloaded method count which is then incremented with each non function member sharing the same name.
|
12 years ago |
marcos henrich
|
3bd0086ac6
|
Fixed methods generated by FunctionToInstanceMethodPass and FunctionToStaticMethodPass, to use parent class Namespace and keep function Namespace as OriginalNamespace.
|
12 years ago |
marcos henrich
|
dc8ecc9d2e
|
Removed unnecessary override keyword from interface method implementations.
|
12 years ago |
marcos henrich
|
9ba1707616
|
Added Equality operator to AST Types. This was needed because GetterSetterToPropertyPass has to match a getter return type with a setter parameter type.
|
12 years ago |
marcos henrich
|
c28723c0b6
|
Added support to emit messages without DiagnosticId.
|
12 years ago |
marcos henrich
|
61986172e7
|
CLIHeaderTemplate an CLISourcesTemplate now take care of properties with only a getter or s setter, and properties using fields that for now always have a getter and a setter.
|
12 years ago |
marcos henrich
|
06aba88fbb
|
Modified GetterSetterToPropertyPass more complex properties are supported. Now even if we only have a getter or a setter a property is created. Trying to convert multiple setter with same name and different types is an issue, so we check before creating a setter for a matching getter or the non existence of more setters.
|
12 years ago |
marcos henrich
|
78ab63086a
|
CLIHeadersTemplate.cs now always tries to generate properties even when it is a value class. This is done because now fields should be converted to properties with FieldToPropertyPass.
|
12 years ago |
marcos henrich
|
379cf32f1d
|
Added FieldToPropertyPass, all non ignored fields can now be transformed into properties before generation.
|
12 years ago |
marcos henrich
|
c02b7bf3a8
|
Added Field to Property Declaration so now we can generate the property from a field instead of get or set methods.
|
12 years ago |
marcos henrich
|
fcb93169a2
|
Added OriginalNamespace to Declaration and now QualifiedOriginalName uses it.
|
12 years ago |
triton
|
f1f5723157
|
Use a constant displacement for block ids so they do not conflict with CLI ones.
|
12 years ago |
triton
|
cca70acea5
|
Skip implementation generation for proxy methods.
|
12 years ago |
triton
|
5f4edce340
|
Extract field generation into its own method.
|
12 years ago |
triton
|
5b7bd8bd03
|
Minor cleanup.
|
12 years ago |
triton
|
463730baeb
|
Fixed handling of template methods processing.
|
12 years ago |
triton
|
2f293308ac
|
Fixed whitespace.
|
12 years ago |
triton
|
c3ac5ca130
|
Fixed whitespace.
|
12 years ago |
triton
|
d9a52a030d
|
Added missing source location type.
|
12 years ago |
triton
|
dbd9fbc9d5
|
Added v[f]table parsing support.
|
12 years ago |
triton
|
1887f80dfd
|
Added declarations of class properties to CLI.
|
12 years ago |
triton
|
ea96abb94f
|
Added IgnoreClassField helper.
|
12 years ago |