Dimitar Dobrev
6c027ff292
Fixed the build with Visual Studio 2015.
...
Fixes https://github.com/mono/CppSharp/issues/556 .
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
1ba4493bf6
Updated to LLVM/Clang 253162/253161 respectively.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
10 years ago
Dimitar Dobrev
d0ad681a61
Extended the AST and the parser to support call expressions in default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
229e0266dd
Setup MSVC compiler version from VS version.
...
Should help fix the compile errors with VS 2015 from issue #556 .
10 years ago
triton
4f1e619a62
Moved MSVC options setup from parser to MSVC toolchain code.
10 years ago
Dimitar Dobrev
beabb8224d
Regenerated the parser bindings with all fixes for v-tables and dtors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
2593f4727f
Added support for getting the array element size to the AST.
11 years ago
Dimitar Dobrev
6432d910fa
Removed the memory leak in the AST converter.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
a2b8614f54
Improved the support for constructor expressions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
cd3e729d38
Restored support for full comments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
bbcf12550f
Prevented a crash in the tests on Mono because of a Mono bug.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
49ba3146a5
Extracted Mono detection logic to Platform.
11 years ago
triton
d0b7ad72a0
Added missing Platform class file.
11 years ago
triton
26e9301b7d
Enable the Microsoft ABI when setting up for MSVC toolchain.
11 years ago
triton
023262647b
Workaround VS 2015 support since Clang cannot handle it yet.
...
Errors:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xtr1common(227,22): error: use of undeclared identifier 'char16_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xtr1common(233,22): error: use of undeclared identifier 'char32_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(408,14):error: use of undeclared identifier 'char16_t'
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstddef(414,14):error: use of undeclared identifier 'char32_t'
C:\Program Files (x86)\Windows Kits\8.1\include\um\winnt.h(938,2): error: Must define a target architecture.
C:\Program Files (x86)\Windows Kits\8.1\include\um\oaidl.h(473,31): error: cannot combine with previous 'type-name' declaration specifier
11 years ago
triton
39dee146e2
Improved VS 2015 support on MSVC toolchain by looking up Universal CRT paths.
11 years ago
triton
e203aff22d
Added Windows Kits SDK support code to MSVC toolchain.
11 years ago
triton
4a6c55d6d8
Documented ToolchainVersion fields.
11 years ago
triton
06f57f29c4
Formatting / code quality fixes.
11 years ago
triton
4034a407f3
Added Visual Studio / MSVC toolchain support.
11 years ago
triton
31f84154ce
Small non-functional fixes to Xcode toolchain code.
11 years ago
triton
0ec9ced29e
Rename the Xcode toolchain class.
11 years ago
triton
23685ba188
Move the Xcode toolchain code to its own file.
11 years ago
triton
a9101ece64
Rename the diagnostic emit overloads so they're more uniform.
11 years ago
triton
2620fda064
Get rid of diagnostic IDs as these never got used in practice.
11 years ago
Dimitar Dobrev
c512a558c7
Fixed a bug when a default arg is a binary operator expression.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
João Matos
2b1c20d432
Added Xcode OS X toolchain lookup code.
11 years ago
Dimitar Dobrev
f0d237d9c2
Added a new property for the line number of the end of a declaration.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Andrius Bentkus
1bffbe8dee
Fix warning, OrignalPtr is an IntPtr and therefore can not be null.
11 years ago
Dimitar Dobrev
3b4fce6f33
Added a property for the line at which a declaration is located in its header.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
d2d941638a
Added parsing of base classes offsets data to the AST.
...
This data will be used to solve some multiple inheritance bugs.
11 years ago
triton
ac7176f1b7
Added parsing and AST support for C++ friend declarations.
11 years ago
Joao Matos
93cdad40e0
Added bit field support to the AST.
11 years ago
Pyry Kontio
99f643d13f
Test that demonstrate the "new 0" and show some other erroneus behaviour too.
...
Implemented CastExpression. ImplicitCast and ExplicitCast statement classes.
Fixed implicit constructor string generation.
Implemented CtorExpr.
All test cases pass.
Fixed indentations, streamlined the code.
Fixed regressions.
Fixed regressions.
Adding a test case not covered before.
Fixed, refactored and simplified things.
Still more fixes (0 to null ptr conversion, enum check). The additional test passes now too.
11 years ago
Dimitar Dobrev
2600493dd6
Generated static methods for creating instance by an IntPtr in the C++/CLI branch.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
740a284323
Added support for iOS and iOS 64-bits ABIs.
11 years ago
triton
169a3fa610
Added support for keeping ABI-specific function 'this' return information.
11 years ago
Dimitar Dobrev
c61cfa43a9
Exposed the architecture of native libraries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
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
Dimitar Dobrev
3b8873022b
Handled built-in binary operators in default arguments.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 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
12 years ago
Dimitar Dobrev
af101c5f60
Fixed a bug when converting name-spaces.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
29e2c58811
Added reading of dependencies of DLL-s.
...
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
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
triton
ca6884c19c
Fixed the AST converter for the new macro location name.
12 years ago
triton
43dc88b5de
Added support for representing and parsing source locations.
12 years ago
triton
27fa2ca03d
Renamed Location to MacroLocation in PreprocessedEntity.
...
We'll use the name Location to represent source locations in declarations.
12 years ago