triton
d6b5fcfe2b
Fixed parser crash with dependent-sized bitfields.
11 years ago
triton
24bdec82b2
Fixed wrong dependent checking for some types causing mangler crash.
...
Consider the following sample code:
template <typename T>
class MyClass
{
int i;
};
Even though `i` is not a dependent type itself it needs to be considered as dependent for name mangling purposes.
Fixes a boost parser crasher.
11 years ago
triton
9449e915b3
Use our own version of Clang's TargetInfo when looking up target info.
11 years ago
triton
d07b158a98
Revert "Support overriding the alignment of Clang's target info."
...
This reverts commit 0e1e9c971b .
11 years ago
triton
0e1e9c971b
Support overriding the alignment of Clang's target info.
11 years ago
triton
08d58f555e
Fixed minor formatting issues in Parser.cpp.
11 years ago
Dimitar Dobrev
89483ec17a
Fixed a regression when having an array with dependent elements.
...
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
d1dabba983
Fixed a warning about an ambiguous (dangling) "else".
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
0e3b5f81a5
Updated C++# to the latest LLVM/Clang.
...
LLVM r245554 / 9a4e2cb3295f286dafc41b7e18619bc150880611, Clang r245562 / 41edf4ec7304ddfdf9225d225586804f394a5cf4.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Conflicts:
docs/GettingStarted.md
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
56b02cfcf9
Converted to 0 default expressions calling an empty ctor of a type mapped to an enum.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
9bd26ca0fe
Fixed support for C language parsing flags.
11 years ago
João Matos
2e433afb10
Added support for Clang's driver toolchain include management for Linux.
11 years ago
João Matos
0d7c7efd43
Better detection of Clang builtin headers location.
11 years ago
Dimitar Dobrev
ce597a399c
Fixed the build on VS 2015.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
5395761809
Fixed a bug that could cause a method to be added twice to its class.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
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
Dimitar Dobrev
a293984424
Fixed the signatures of const functions.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
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
Dimitar Dobrev
993cb82bb7
Revert "Fixed parsing of function signatures with const-qualified return types."
...
This reverts commit 7d5e53e1df .
Conflicts:
tests/Native/AST.h
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
Dimitar Dobrev
99c124eb53
Fixed the location of a friendly declaration.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
11 years ago
triton
7d5e53e1df
Fixed parsing of function signatures with const-qualified return types.
11 years ago
triton
c61f422a28
Slightly refactor signature range code to make it easier to read.
11 years ago
Dimitar Dobrev
8505f82ff0
Fixed signatures to include the 'const', if any.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Stephan Sundermann
a314b8ede6
Fix build error on osx
12 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>
12 years ago
triton
0c277cff5a
Updated to latest LLVM and Clang revisions.
12 years ago
triton
43531f0b38
Fixed regression when parsing multiple non-member friend declarations.
12 years ago
triton
4ddbf34edb
Fixed another regression when parsing class templates.
...
Closes issue #411 .
12 years ago
triton
bf9fb64120
Fixed regression when parsing class templates.
...
First introduced in f2de736f81 .
Thanks to @golddranks for providing the test case.
Closes issue #409 .
12 years ago
triton
3866d6b5fe
Improved robustness of base offsets parsing.
...
Fixes issue #403 .
12 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.
12 years ago
triton
f2de736f81
Fixed cyclic dependency when parsing class templates with friends.
...
Fixes ddobrev/QtSharp#22 . Thanks to @golddranks for debugging the problem and the fix.
12 years ago
triton
ac7176f1b7
Added parsing and AST support for C++ friend declarations.
12 years ago
Dimitar Dobrev
b6e5fe3c0e
Parsed friendly non-type declarations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
58fb80f571
Fixed a few regressions introduced by the updated code for default args.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Joao Matos
93cdad40e0
Added bit field support to the AST.
12 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.
12 years ago
Dimitar Dobrev
562fe35ac0
Updated to LLVM/Clang revision 222533/222534.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
26df3e0c77
Improved the handling of numeric default values.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
ec4ee6ba3c
Fixed handling of static fields in the parser.
...
References #320 .
12 years ago
triton
740a284323
Added support for iOS and iOS 64-bits ABIs.
12 years ago
triton
67a4821a8e
Improved ABI kind handling in the parser.
12 years ago
triton
169a3fa610
Added support for keeping ABI-specific function 'this' return information.
12 years ago
Dimitar Dobrev
c61cfa43a9
Exposed the architecture of native libraries.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
643776b70e
Enabled the addition of undefines in the options.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
0d605cd3fa
Fixed the target triples with the new Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
Dimitar Dobrev
acdc093e0a
Fixed run-time crashes caused by updating to the new Clang.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
12 years ago
triton
e606a7f2d0
Fixed parser to work with latest LLVM and Clang revisions.
12 years ago