Dimitar Dobrev
7da56fc082
Added automatic adding of references between dependent modules.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
3751e647a4
Simplified and moved the pass for translation units renamed to name-spaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
b252de41d9
Added a check whether a library to wrap has already been parsed.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Chris Spencer
0c535d361b
Generate delegates for non-typedef'd function pointers to prevent runtime exceptions during marshalling.
11 years ago
Pyry Kontio
8a85058c48
Implemented name importing & exporting.
11 years ago
triton
fe56198ceb
Fixed ToolSetToUse to work with the latest Clang expectations.
11 years ago
Dimitar Dobrev
9e5be9e92c
Added the ability to only enable a given type map for a selected back-end.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
643776b70e
Enabled the addition of undefines in the options.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
f16a5ff6e0
Ensured default values, if any, of parameters of overrides, are generated.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/Generator/Driver.cs
tests/Basic/Basic.cpp
tests/Basic/Basic.h
12 years ago
Dimitar Dobrev
548f0feb55
Added an option for the language version.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
ce2f7f70b4
Fixed driver code to use source file options for parsing.
12 years ago
triton
3cdc47770f
Changed Driver.BuildParseOptions to be public.
12 years ago
triton
a62ea33d64
Split building source file parse options from parsing code.
12 years ago
Dimitar Dobrev
0499556bfe
Added support for default values of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
1802470013
Kill the old parser (good riddance :).
12 years ago
Tomi Valkeinen
4e185973e5
Normalize all the line endings
...
Normalized all the line endings with:
git rm --cached -r .
git reset --hard
git add .
git commit -m "Normalize all the line endings"
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
12 years ago
triton
acef972a55
Added support for a "dry run" option that does not write anything to disk.
12 years ago
Elias Holzer
474f82b513
Added support for explicit conversion operators and added new pass which will create implicit and explicit conversion operators out of single argument constructors.
...
Conflicts:
src/Generator/Passes/CheckAmbiguousFunctions.cs
src/Generator/Passes/CheckOperatorsOverloads.cs
12 years ago
marcos henrich
d63ef03200
Changed Driver.Diagnostics setter to public. Replaced TextDiagnosticPrinter Verbose field by Level.
12 years ago
triton
df188d92f8
Fixed the tests by adding another option for the advanced property pass.
...
Long-term, I'd like to see both passes merged...
12 years ago
triton
9166a55202
Fixed generation of properties to behave as expected.
...
Fixed this by changing GenerateProperties to use GetterSetterToPropertyPass instead of GetterSetterToPropertyAdvancedPass.
Fixes issue #215 .
12 years ago
triton
9b5ddb7e3e
Fixed option validating code to work with the new parser.
12 years ago
triton
e73fb76613
Added an option for generation of inlines in the C# generator.
12 years ago
triton
2426c3eedb
Added an option to compile the generated C# code.
12 years ago
marcos henrich
56f772a8c8
UseHeaderDirectories when true generated files will be outputted to original relative paths, and include will use relative path between headers. When NoGenIncludePrefix is set a string is prepended to the include files that are not generated.
12 years ago
marcos henrich
4574b898de
Added to binder option NoGenIncludeDirs that contains a list of non generated include dirs.
12 years ago
Dimitar Dobrev
445f460b47
Fixed the reporting of compilation errors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Øystein Krog
b1642bd47b
Add TargetInfo in Driver.
12 years ago
Dimitar Dobrev
093ae1548b
Avoided crashes when generating code corresponding to translation units at invalid locations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
0a102d8fbc
Added better wrapping for static classes.
12 years ago
Dimitar Dobrev
85e56de487
Applied Helpers.SafeIdentifier in the name-cleaning pass in order to get correct names in type maps.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
45b110e739
Added arguments options support to pass custom Clang options to the parser.
12 years ago
triton
b58a99ebf3
Some fixes to the codebase to work correctly with the new parser bindings.
12 years ago
triton
e5c85179d2
Ignore note diagnostics.
12 years ago
triton
0c12ef9bd5
Cleaned up some unused usings.
12 years ago
triton
da2c6b0602
Added indentation support to the logging.
12 years ago
triton
24fcf02978
Formatting fixes.
12 years ago
triton
4af0e2a90e
Print the pass name before the diagnostics under debug mode.
12 years ago
triton
b808117566
Cleaned up the default diagnostics output to be more concise.
12 years ago
Dimitar Dobrev
3cf6c7b3f1
Added a test for the pass that moves functions to a class.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
bd5594df7a
Small code cleanups.
12 years ago
triton
4aab472af5
Fixed driver code to work with the new parser.
12 years ago
triton
ed67b741ae
Improved error handling of the code compiler code (and minor reformatting).
12 years ago
triton
a9f9a5e821
Fixed library parsing.
12 years ago
triton
4a29db6bcd
Revert "Fixed bug caused by a type in the new parser."
...
This reverts commit f1f6c2e5e9 .
12 years ago
triton
f1f6c2e5e9
Fixed bug caused by a type in the new parser.
12 years ago
Dimitar Dobrev
7e2b1fd417
Added automatic building of the generated source files.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
71de29790e
Added a new pass to check for duplicated vtable components.
...
This helps workaround some Clang's work-in-progress vftable layouting implementation.
12 years ago
Stephen Kennedy
0957843c4d
Unify debugging output
...
Route all debugging output through Driver.Diagnostics
12 years ago
triton
c619d67eb6
DriverOptions now inherits from ParserOptions instead of providing a member.
12 years ago