98 Commits (f738d00738e08aed4cd1b94a3071cd941c5f6428)

Author SHA1 Message Date
triton e4df985659 Deal properly with calling conventions by resolving CC_Default conventions. 12 years ago
triton d1915d033c Actually get the layout information for each class in the parser. 12 years ago
marcos henrich e41f2ad5e7 Added static variables correct code generation 12 years ago
triton 09b5863b5e Added parsing support for class function templates and added parsing of template parameters. 12 years ago
triton cb41f904e8 Clean up the contributed diagnostic code. 12 years ago
Tarmo Pikaro d99858e436 Error handling - report compiler error when it occurs. Add extra option for ignoring errors. 12 years ago
Tarmo Pikaro 64c46def5d Improve diagnostic - error/warning info back to C#. 12 years ago
Tarmo Pikaro 3d07389e69 Visual studio 2010 compatibility 12 years ago
triton 79eef3e725 Actually commit working registry lookup code... 12 years ago
triton 27d7b19e7f Replace the existing VS lookup code with the one from Clang driver (it works better). 12 years ago
triton 9f029047ad Added parsing, AST and visitor stubs support for (class static) variables. 12 years ago
triton 3ed33c6e21 Do not try to walk through built-in functions. This can happen when trying to parse things that include (transitively) the intrinsic Clang headers. 12 years ago
triton bc9795e41a Ignore unneeded class types for wrapping purposes. 13 years ago
triton fed7831051 Ignore C++ global class members declarations. 13 years ago
triton 8b6ad99275 Renamed arguments to parameters. 13 years ago
triton 1dadc9692a Do not add template functions to the namespace as regular functions. 13 years ago
triton 98f58ac4f8 Use the registered diagnostic client to check for errors. 13 years ago
triton e6de2de511 Fields now keep a reference to their class. 13 years ago
triton 2564730771 Big rework of the type system to preserve the qualifiers on types. 13 years ago
triton 1d151178ff Fixed processing of type locations in the case of template specializations (the new behavior deals properly with elaborated and qualified types). Fixes some crashes in template-heavy code. 13 years ago
triton fdc35a40da Do not try to get the layout of classes with dependent fields since upstream added an assert to check for dependent types in getTypeSize. 13 years ago
triton d0bfb648b5 Added base class information to classes. 13 years ago
triton 95ef705082 Fixed processing of macros by creating a preprocessing record on the parser. 13 years ago
triton 7da24a02f6 Improve the error handling of the Parse method so we can correctly diagnose the issue in the driver. 13 years ago
triton 02099294b0 Added better support for class template partial specializations (used in Qt). 13 years ago
triton 2e317e8c0d Updated Parser.cpp to the latest LLVM revision. 13 years ago
triton df5ea7fe02 Unbreak a line. 13 years ago
triton b70f4d6483 Rename toolSetToUse to ToolSetToUse. 13 years ago
triton 9462ddbcfd The parser now returns a ParserResult struct with diagnostic and library information. 13 years ago
triton 9fcac6dbe3 Refactor the VS-specific lookup logic to its own file. 13 years ago
Tarmo Pikaro e203d5fcea Wire -Ddefine support. 13 years ago
Tarmo Pikaro bc317f8984 Add -vs <number> command line argument, add vs probing, hello world compilation with system headers. 13 years ago
Tarmo Pikaro dd0209275b Make compilable under vs2010, add build instructions, delete solutions as auto-generated, tune premake4 files. 13 years ago
triton fc91a43f6f Clean up extra whitespace in Parser.cpp. 13 years ago
triton ea114f8ba0 Added preliminary support for class template specialization in the bridge AST. 13 years ago
triton 48a96b4865 Cosmetic fix in Parser.cpp. 13 years ago
triton faded38014 Keep the declaration order of classes and sort them before processing. This helps with some referencing order problems in the generated code. 13 years ago
triton 8b2facf759 Speed up parsing of the AST by skipping function bodies. 13 years ago
triton 724a5d4fcc Added very primitive support for variables in the AST. 13 years ago
triton 3c0b6e5620 Changed the generator to get the AST of each header individually. This fixes some problems that the old way had related to keeping track of forward references. 13 years ago
triton 953779d0ed Check if a function already exists before adding a new one. 13 years ago
triton ef23735d9b Removed some dead code from Parser.cpp. 13 years ago
triton df61ea6041 Classes now try to keep accurate track if they were complete / forward referenced at the time of referencing. 13 years ago
triton f5fcef50f1 Massive update to the codebase. 13 years ago
triton 57a14eabf3 Fixed whitespace inconsistency. 13 years ago
triton 4c4e65723c Added support for typedefs to the native parser. Added support for user-specified include directories. 13 years ago
triton 0224542925 Fixed the native code parser to deal with namespaces. 13 years ago
triton c4fd9ae614 Added C++/CLI wrapper around the C++ Clang parser. 13 years ago