821 Commits (c83a87dbd4a96531793d43d77c3d5f43f9068de5)
 

Author SHA1 Message Date
triton c83a87dbd4 Moved ignored declaration and type checking code from ResolveIncompleteDeclsPass to its own pass. 12 years ago
triton fae4ae8be2 Made the check for ignored declarations more robust. 12 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. 12 years ago
triton 5037e8b6b0 Unify handling of pointers to primitive types. 12 years ago
triton 3a22b39ec0 Re-work the marshaler to make sure we visit the canonical Type and Decl overloads and do proper type map handling. 12 years ago
triton 9cf717707b Ignore a couple more unused declarations. 12 years ago
triton cc892a6f19 Use the field's class as the field namespace. 12 years ago
triton 78b3732b19 Unify the handling of comments in WalkDeclaration. 12 years ago
triton b43887ed90 Remove unused namespace variable. 12 years ago
triton c984806f5c Remove the unused TypeLoc parameter from WalkDeclaration. 12 years ago
triton ba8081b0ba Remove some old debug output. 12 years ago
triton 7377565118 Since we now process records fully, we also get some undesired declarations that are created automatically by Clang. Long story short, in this case we do not want to process injected class names inside the record since that will lead us to process records twice and insert them in different namespaces. 12 years ago
triton e07e529f2a Re-work the way we handle records in the parser to actually go through all declarations instead of just a subset of them. This makes sure we handle nested definitions properly. 12 years ago
triton 55c0b94e78 Remove obsolete checks for isAnonymousStructOrUnion and hasFlexibleArrayMember. 12 years ago
triton 2fb1952c05 Remove HasClassDependentFields and IsDependent parameter from WalkRecordCXX and just query Clang directly if the type is dependent. 12 years ago
triton 5e475658a8 Completely re-work the way we handle namespaces/declaration contexts in the native parser to properly handle nested definitions. 12 years ago
triton 392843cf9b Instead of failing to generate methods with not found symbols, use a fallback "SymbolNotFound" symbol which at least makes the generated wrappers compile. 12 years ago
triton 3da1199e3d Fixed generation of static methods by processing it right in the parser and generator. 12 years ago
triton ffb1725538 Use a fully-qualified name when generating class bases to fix name conflicts. 12 years ago
triton 6c2e73372e Process classes as declaration contexts too making sure we generate nested declarations like typedefs, enums and classes. 12 years ago
triton 74404222c2 Unify the namespace and declaration context handling. 12 years ago
triton e57e22e3b8 Wrap the Instance identifier name into its own property and change the code to use it. 12 years ago
triton 69cd09188f Implement type printing for template parameter substitution types. 12 years ago
triton 29baef2f82 Wrap pointer to primitives as IntPtr regardless of the type. 12 years ago
triton 4025689211 Use GetNestedQualifiedName to properly deal with nested declaration type names. 12 years ago
triton afe90def84 Remove useless out variables null initialization. 12 years ago
triton 1fd524e664 Remove unused using. 12 years ago
triton 96674f2cc4 When checking for ignored declarations: check the complete version of the declaration if there is one, use the type map if one is found, or ignore the declaration if it is not generated. 12 years ago
triton 8d281303b3 Fixed the IsGenerated and IsProcessed flags on declarations to actually do the correct thing instead of doing the opposite of what they should. 12 years ago
triton c063ca4ef7 Added very basic support for dependent array types. 12 years ago
triton e0a6181287 Make sure we skip ignored overloads when checking for ambiguous overloads. 12 years ago
triton 31ce147308 Added a targets parameter to RemovePrefix to be able to only remove prefixes for some kinds of declarations. 12 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. 12 years ago
triton d3d7e1f2d6 Use the regular templates since classes are now regular declaration contexts and they do not have a separate container for FunctionTemplates. 12 years ago
triton 4c45531cc0 Use the new keyword to tell the compiler we are hiding the GetFunctionOverloads overload. 12 years ago
triton 4ffa945ce9 Added ASTVisitor option to not visit template specialization arguments. 12 years ago
triton 9411268e0c Added ASTVisitor option to not visit function parameters. 12 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. 12 years ago
triton c66d14d150 ASTVisitor type visitors now try to visit a common VisitType first. 12 years ago
triton 80dd6b75c1 Fix whitespace inconsistency by needing a newline when generating functions. 12 years ago
triton 0f223f2852 Convert the GetFunctionOverloads return to a list to use IndexOf. 12 years ago
triton b32de20d65 Check if the class has a base class instead of just a base. 12 years ago
triton d1c9737d0c Search for mangled symbols for functions in addition to variables. 12 years ago
triton 8237110115 Remove the useless GeneratePInvokeMethod method. 12 years ago
triton f23600caf5 Added helper Linq method to return an enumeration without its last element. 12 years ago
triton 2127848d47 Added an helper method to find declarations hierarchically. 12 years ago
triton 46d9978401 Class helper methods now return proper lazy IEnumerable<> instead of converting right away to lists. 12 years ago
triton e33cc3d82d Template specializations types now keep their desugared version, if available. 12 years ago
triton cfc4783420 Added an IMangledDecl interface to mangle-able declarations. 12 years ago
triton ba9ec08e25 Added ToString() to the macro-based declarations for better debug output. 12 years ago