854 Commits (c6995fed90d30e7f8d8a10c57f1dba97155fb651)
 

Author SHA1 Message Date
triton c6995fed90 Simplified the marshaling code by just calling generated methods to do the marshaling instead of doing full marshaling in each instance. 12 years ago
triton 8d2261c2e0 Check options to see if we can visit function parameters. 12 years ago
triton 1d5b3438d9 Formatting changes. 12 years ago
triton bf05deaea8 Remove whitespace. 12 years ago
triton 1c80f44233 Check for symbols with a leading underscore when checking for a symbol. 12 years ago
triton ee615abfe7 Visit the declaration itself instead of using the visitor Visit methods. 12 years ago
marcos henrich 3cce479a09 Changed CLITypePrinter to store a Driver instead of a Library 12 years ago
marcos henrich 2aca94d9f9 Using Unix path separator 12 years ago
marcos henrich 2570f4d391 Added missing using. 12 years ago
marcos henrich e066932762 Added to PreprocessedEntity MacroLocation, macroexpansions can now be retrieved before the begin of the declaration with GetDeclStartLocation 12 years ago
triton 2b7e8b9b90 Improved type maps for C++ string and vector standard library support. 12 years ago
triton a1920c627a Added better support for native printing of constant sized arrays as C# fixed buffers. 12 years ago
triton 416503e23e Handle native context classes correctly by printing its internal definition. 12 years ago
triton 656e5ecf80 Use a GetCSharpSignature instead of calling CSharpSignature directly to set common data like the context kind. 12 years ago
triton b49637df93 Cosmetic changes. 12 years ago
triton 705844046f Visit the declaration by using its visit method and not the generic VisitDeclaration. 12 years ago
triton 8c111d5c76 Fixed marshaling to work with the new unsafe pointers which simplified the code a lot. 12 years ago
triton 6010459bdc Changed GetOperatorIdentifier to be a static method. 12 years ago
triton d531e40e5f Added better wrapping for out parameters. 12 years ago
triton 501157f688 Remove unused method GenerateValueTypeConstructorCall. 12 years ago
triton 589306ec14 Removed a lot of complexity when wrapping of fields to use unsafe pointers and actually use the existing marshaling logic instead of replicating it with weird manual pointer arithmetic. 12 years ago
triton 4a222b0320 Renamed GeneratedOperator to GenerateOperator. 12 years ago
triton bf35ce0f04 Simplify GetFunctionNativeIdentifier. 12 years ago
triton b41d3cfb6e Remove one-line method GenerateStructMarshaling and inline its content where it was called. 12 years ago
triton 1467c086b6 Use GenerateClassFields to generate internal class fields instead of duplicating the logic. Fixes struct inheritance handling. 12 years ago
triton be8ffb358e Check for explicitly ignored declarations when checking for ignored types. 12 years ago
triton 54db52dda7 Call HandlePreprocessedEntities to handle preprocessor definitions when walking through records. 12 years ago
triton bcb692c77a Check for dependent contexts when parsing functions. 12 years ago
triton aed949e4dd Fixed the IgnoreHeadersWithName helper to be more robust by checking for patterns against the file path and include paths. 12 years ago
triton cb6f2c72ca When creating new fake methods from functions also initialize their mangled names. 12 years ago
triton b0d2757238 Fixed the CheckOperatorsOverloads pass to be more robust when handling declarations. 12 years ago
triton 383850437e Re-use the generator CSharpTypePrinter instance in CSharpTextTemplate. 12 years ago
triton b68fe99754 Moved the user passes to run before some built-in classes so that declarations added by the passes can still be verified and processed. 12 years ago
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