triton
740a284323
Added support for iOS and iOS 64-bits ABIs.
11 years ago
triton
67a4821a8e
Improved ABI kind handling in the parser.
11 years ago
triton
169a3fa610
Added support for keeping ABI-specific function 'this' return information.
11 years ago
triton
cd85f8b6a5
Improved GetSourceDirectory to be a little more robust.
11 years ago
Dimitar Dobrev
0ee5b23728
Restored ParserOptions as a ref type because it is inherited.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
c61cfa43a9
Exposed the architecture of native libraries.
...
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
0d605cd3fa
Fixed the target triples with the new Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
acdc093e0a
Fixed run-time crashes caused by updating to the new Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
e606a7f2d0
Fixed parser to work with latest LLVM and Clang revisions.
11 years ago
triton
934558ed54
Code cleanups, no functional changes intended.
11 years ago
triton
8a3f50337c
Added an hack for parsing declaration without unique native pointers.
...
We only need this because we're re-using the parameter declaration for function type parameters.
11 years ago
triton
3d55f436a3
Workaround for COFF compiling issue due to conflicting preprocessor defines.
11 years ago
Dimitar Dobrev
7a68a1c9c0
Fixed a crash when parsing va_list in a GCC 64-bit environment.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
0e8a6e368c
Moved the code for creating a ref object by value from the marshalling printer to a valid ctor by value.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
de4c551fda
Worked around a specific default argument construct used in Qt.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
3b8873022b
Handled built-in binary operators in default arguments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
88a88599e7
Fixed the wrapping of bit masks in default arguments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
src/CppParser/Bindings/CSharp/i686-apple-darwin12.4.0/AST.cs
11 years ago
Dimitar Dobrev
af101c5f60
Fixed a bug when converting name-spaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
2bc06983f3
Fixed the generation of default argument when a reference is assigned a value.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
798e086ef9
Added reading of dependencies of ELF libraries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Tom Spilman
9d7385bfbb
Fixed ParamStartLoc to be the correct parameter start location.
...
Added ParamEndLoc to make things clearer.
11 years ago
Dimitar Dobrev
da3c496c33
Prefixed a C++ enum usage to fix a GCC compilation error.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
29e2c58811
Added reading of dependencies of DLL-s.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
768b443038
Added reading of symbols from DLL-s.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
548f0feb55
Added an option for the language version.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
76e254e766
Extended the collection of library symbols to handle ELF shared objects (.so).
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Tomi Valkeinen
a67595ea3f
build: use linux bindings
...
Use CppParser C# bindings for linux when compiling on Linux.
Note: this always uses 64 bit version for now.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
f7810b47d8
CppParser: add generated linux bindings
...
Add C# Bindings for CppParser for 64 bit Linux.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
6b0612d5a1
ParserGen: Linux binding generation
...
Add code to generate Linux bindings.
This is experimental for now.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
e2a455a5c7
Fix compilation with gcc
...
Fix error:
../../../src/CppParser/AST.cpp:566:21: error: ‘MacroLocation’ is not a
class, namespace, or enumeration
MacroLocation(MacroLocation::Unknown) {}
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
ccb4c9244f
Regenerate windows bindings
...
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
Tomi Valkeinen
f32feb1d98
Fix windows bindings path
...
The path for generated windows bindings has changed to i686-pc-win32-msvc, but
the existing files and the build system has not been changed.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
11 years ago
triton
d7c5da48c6
Skip implicit records when parsing.
...
This works around the following parse issue which would trigger an subsequent assert when handling source locations:
RecordDecl 0x848e5c00 <<invalid sloc>> <invalid sloc> implicit struct __va_list definition
`-FieldDecl 0x848e5c60 <<invalid sloc>> <invalid sloc> __ap 'void *'
11 years ago
triton
75eb1457eb
Added vector clearing overloads to the parser options.
11 years ago
triton
7fb53dc3b0
Fixed the parser generator to track Clang r204978.
...
Clang now models different Windows environments in the triple and we need to explicitly request the "MSVC" environment to get proper behavior when parsing MSVC headers.
11 years ago
triton
411dd8f8ca
Added missing include caught by the build bot.
11 years ago
triton
5df897bb8e
Updated to the latest LLVM and Clang revisions.
11 years ago
Dimitar Dobrev
0499556bfe
Added support for default values of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
21cf90411a
Fixed a few warning caused by classes forwarded as structs.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
1802470013
Kill the old parser (good riddance :).
11 years ago
Dimitar Dobrev
5523a83b29
Converted all "complex" (for example participating in class hierarchies) data type to classes.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
fede2d4c23
Reworked the parser generation driver.
...
Now the path to the headers is not hardcoded and the driver will check if its safe to generate the OSX bindings.
11 years ago
triton
8ace8354b5
Re-generated the OSX parser bindings.
11 years ago
triton
e4873e20cc
Fixed anonymous declaration parsing.
11 years ago
Dimitar Dobrev
f88c20aa94
Some refactoring in preparation for the default values of parameters.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
70dfd42e07
Added support for C records to the parser.
11 years ago
triton
7f927db6c8
Renamed ASTContext parameters.
11 years ago
triton
f95d013651
Re-generated the parser bindings.
11 years ago
triton
c67e6a5ffb
Fixed naming conflict in Location field in the AST.
11 years ago