364 Commits (c0a9bc76a8f4156687abc8722baedf12ee318f13)

Author SHA1 Message Date
marcos henrich 2aca94d9f9 Using Unix path separator 13 years ago
triton cb6f2c72ca When creating new fake methods from functions also initialize their mangled names. 13 years ago
triton b0d2757238 Fixed the CheckOperatorsOverloads pass to be more robust when handling declarations. 13 years ago
triton c83a87dbd4 Moved ignored declaration and type checking code from ResolveIncompleteDeclsPass to its own pass. 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 e0a6181287 Make sure we skip ignored overloads when checking for ambiguous overloads. 13 years ago
triton 31ce147308 Added a targets parameter to RemovePrefix to be able to only remove prefixes for some kinds of declarations. 13 years ago
triton 41e21fc3ab Since TranslationUnit is just a regular DeclarationContext we can now use VisitDeclarationContext instead of replicating the walking logic. This also makes sure we walk through every declaration, which we did not do before. 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 46d9978401 Class helper methods now return proper lazy IEnumerable<> instead of converting right away to lists. 13 years ago
triton 432d1ddec6 Added support for renaming properties. 13 years ago
triton d37cca5ca1 Changed the return type of functions to be a qualified type. 13 years ago
triton cc8f7cd1db Renamed Cxxi references to CppSharp. 13 years ago
triton e7664911fe Use a different name for driver options in CleanUnitPass so it does not hide an inherited name. 13 years ago
triton 128750df4c Rework the C# type printer to return more information than just a string (CSharpTypePrinterResult). 13 years ago
triton 99ab98c884 Added a new pass that checks for ambiguous function/method overloads. 13 years ago
triton f8eeacab5d Check for missing operator overload parameters for all operator overloads. 13 years ago
triton af8b863286 Extract the operator checking code into its own method. 13 years ago
triton 4726ba4624 Passes now keep a property with the driver. 13 years ago
triton a14338a8c9 Added much improved support for operator overloading in the C# backend. 13 years ago
triton 2a52c2e8b1 Added a new pass to check for ABI-specific parameters. 13 years ago
triton a20ba4ce78 When cleaning up names, zero out the unique name index to have cleaner and deterministic output between runs. 13 years ago
triton 3b3af70cc3 Use a different method to ignore namespaces in CleanInvalidDeclNamesPass. 13 years ago
triton ade3a7442b Do not clean up the names of namespaces since it can lead to invalid results. 13 years ago
triton 2dd3cbdaeb Check for already visited declarations when checking duplicate names. 13 years ago
triton beb3a37781 Changed how the type ignore check visitor return results so it does not conflict with the AST visiting patterns. 13 years ago
triton ffdd10ef42 Added checking of function parameters for ignored types. 13 years ago
triton d71bf67691 Added support for renaming parameters. 13 years ago
triton e3dd678d33 Fixed the rename passes to check if the declaration is re-nameable. 13 years ago
triton bafbbaf90b Added a new pass to check for type references. 13 years ago
triton 7f71d6d73a Pass the driver options to the clean unit pass. 13 years ago
triton 4189f1cbae Do not try to process methods in the function passes. 13 years ago
triton bf38d80af8 Update the existing passes to use the new pass interface. 13 years ago
triton 979c07bb77 Replace the old transform code with the general AST visiting code, which was extended a bit to support the needed early out semantics for passes. 13 years ago
triton f7887333e7 Added a pass to clean translation units. 13 years ago
triton d53f313121 Improved class checking in the type references visitor. 13 years ago
triton 7832fc7556 Only process a base type as a class when it is a class. 13 years ago
triton 0140608ac8 Added checking for ignored types in typedefs. 13 years ago
triton 1dbbf2843f Added proper support for typedef in passes. 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 ef50c60f00 Moved the SplitCamelCase method to the utils. 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 065ccef9f8 Added a way to run all passes in the translation units. 13 years ago
triton 0d3caa509d Added some helpers for renaming declarations. 13 years ago
triton bb8a8a5f02 CheckEnumName can be made static. 13 years ago
triton 29851ceaba Extract the declaration sorting into its own pass. 13 years ago
triton 497625bd67 Fixed some comments. 13 years ago
triton 00c41a9283 Moved PassBuilder.cs to the Passes folder. 13 years ago
triton 657bd32e7b Moved enumeration name clean up code out of Transform.cs and into the CleanInvalidDeclNames pass. 13 years ago