triton
74007bedd1
Fixed wrong indenting in output by using the block API for fields.
12 years ago
triton
c464635428
Fixed invalid declaration name cleaning to maintain proper ordering in events and function types.
12 years ago
triton
76cf4e68d8
Simplify declaration ignores by removing IsProcessed and fixing ExplicitlyIgnored to be recursive like the others ignore properties.
12 years ago
triton
0e905dbd36
Clean up the file path when finding translation units since they might differ between calls.
12 years ago
triton
b93cca9780
Updated the parser generator driver with support for different triples (and Darwin/OSX support).
12 years ago
triton
05073ef0e1
Re-generated the parser bindings for all platforms.
12 years ago
triton
44e354d680
Remove useless default constructor from SortDeclarationsPass.
12 years ago
triton
881cd21efa
Whitespace cleanup.
12 years ago
triton
45b110e739
Added arguments options support to pass custom Clang options to the parser.
12 years ago
triton
5677c5aa9d
Remove hardcoded "-Wno-undefined-inline" option from the parsers.
12 years ago
triton
cb62d64d5e
Fixed the parser, it got broken in a recent pull request merge.
12 years ago
triton
51f5e395ff
Fixed ObjectOverridesPass to use an updated instance identifier.
12 years ago
triton
1ceabd676c
Fixed declaration checking to have into account processing/generation ignore flags.
12 years ago
triton
1dec71e8f3
Added support for the CS_IGNORE_GEN macro to CheckMacrosPass.
...
This is used for classes that we want to ignore only for generation but still want to process when they appear in type maps.
12 years ago
triton
38009ce337
Fixed processing of classes in CheckMacrosPass.
...
We had previously added an early out for declaration contexts but this is not correct for classes since they need to have their preprocessed entities processed by the rest of the pass.
12 years ago
triton
1d0bfbcf70
Fixed processing of forward declarations in CheckMacrosPass.
12 years ago
triton
3849c0e0c0
Fixed type maps processing bugs.
12 years ago
triton
82d6d609b4
Fixed parsing of preprocessed entities for parameter declarations.
...
Clang reports a wrong source range for function parameters and since we already process them specially we should not process them in HandleDeclaration too, else we get duplicated entities.
12 years ago
triton
ae52dd8963
Fixed parsing of preprocessed entities for implicit declarations.
12 years ago
João Matos
6c048610ff
Merge pull request #162 from InitialForce/feature_track_macro_source
...
Modify parser to set the Namespace in MacroDefinition
12 years ago
João Matos
9d806a2cbe
Merge pull request #166 from InitialForce/fix_update_gitignore
...
Update .gitignore to include vs2013 build folder
12 years ago
Øystein Krog
bbc0c4de7f
Update .gitignore to include vs2013 build folder
12 years ago
Øystein Krog
e9f43c059e
Modify parser to set the Namespace in MacroDefinition
12 years ago
João Matos
391523aa57
Merge pull request #147 from ddobrev/master
...
A possible fix for the problem with value typed fields of ref classes
12 years ago
Dimitar Dobrev
e1a12027ec
Wrapped value typed fields with properties in order to have changes reflected to the native pointer.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
80938b7937
Attempt to fix the tests by using a less broad fix for the unique names problem.
12 years ago
triton
c842d73243
Fixed invalid declaration name cleaning.
...
It could happen that by visiting the types of declarations, we'd wrongly reset the unique names counter. In this specific case, this was happening while visiting an event and its parameters.
12 years ago
triton
37bccb446d
Removed type map matching from VisitDeclaration.
...
We should only try to find type maps for types, else we can match type maps wrongly if the declaration name happens to have the same name as the one the type map tries to match on.
12 years ago
triton
7e077c6bc4
Re-generated the CLI parser bindings (with fix for reference pointers).
12 years ago
triton
819df6a2a2
Fixed CLI generation with references to pointers types (added a test).
12 years ago
triton
df88729095
Updated to the latest LLVM/Clang revisions.
12 years ago
Joao Matos
5016b485fe
Fixed FieldToPropertyPass to always visit complete class declaration.
12 years ago
Joao Matos
03f5998256
Fixed CopyClassFields helper to prefer complete declarations.
12 years ago
Joao Matos
db8c2cc99e
Fixed CheckMacroPass pass to work correctly for declaration contexts.
...
This has been broken since we started parsing preprocessed entities for all declarations. In the specific cases of declaration contexts (translation units and namespaces) we would be processing child declaration preprocessed entities and ignoring the whole contexts by mistake.
12 years ago
Joao Matos
3c27e0fad6
Improved generation of enumerations from macros.
...
We now keep track if a certain macro has already been generated in an enum and skip it in future calls to GenerateEnumFromMacros.
12 years ago
Joao Matos
69dcac2903
Ignore some unused methods in the parser bindings.
12 years ago
Joao Matos
19376cc2c3
Added support for keeping track of extern "C" contexts in classes/structs.
12 years ago
Joao Matos
7719b89312
Re-generated the parser bindings.
12 years ago
Joao Matos
4f2135eddf
Use the most recent (re)declaration when setting the MS inheritance model.
12 years ago
Joao Matos
9e14383e10
Fixed parser to work with recent Clang changes.
...
Basically we need to lock in the MS inheritance model in a record when it appears as part of a member pointer type else we get some fun Clang code gen internals assert.
12 years ago
Joao Matos
88e5d1cf3d
Updated the parsers to the latest Clang API changes.
12 years ago
triton
8c0adad5f1
Fixed parsing bug and subsequent failing test in GenerateEnumFromMacros.
...
It now uses preprocessed entities instead of the soon-to-be-removed macros.
12 years ago
triton
5e3d86a33f
Fixed parser bindings build to correctly choose the correct generated bindings depending on the platform.
12 years ago
triton
11a0a51e00
Fixed triggering exception in declaration converting by handling the declaration first.
12 years ago
triton
a112faef52
Fixed memory corruption bug by explicitly initializing the pointer to null.
12 years ago
triton
1afaad6847
Added missing definitions for the AST structures in the C++ parser.
12 years ago
triton
27bd19d741
Re-generated the parser bindings for 32-bit Darwin/OSX.
12 years ago
triton
b11644de19
Converted the rest of the inline declarations to be defined outside the header.
12 years ago
triton
1301268656
Re-generated the parser bindings for 32-bit Darwin/OSX.
12 years ago
triton
6edd10b514
Move CppParser method definitions out of the headers and into the source file.
...
This is a workaround for missing symbols when P/Invoking on the Mac for instance. There should be a working "-fkeep-inline-functions" switch available in Clang but upon reading the source code, it does not do anything besides consuming the option (not even a warning!).
12 years ago