triton
15ff04a79e
Workaround MSVC linker warning 4099 on AppVeyor.
10 years ago
triton
e81fb9e036
Use AppVeyor's MSBuild custom logger and reduce verbosity level.
...
.
Custom logger is required to push MSBuild warning and errors in real-time to build console.
10 years ago
triton
e0bd7f2077
Hide the verbose 7z extraction output on AppVeyor.
10 years ago
João Matos
a465e3d13b
Merge pull request #560 from vonzepp/master
...
Added VS2015/.net 4.6 support for project files generation
10 years ago
Eugene Belyakov
fba73be01d
Added VS2015/.net 4.6 support for project files generation
10 years ago
Dimitar Dobrev
fa0e66687d
Fixed abstract implementations and bodies of overrides to properly handle abstract overrides.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
ae805eca31
Simplified overrides by just calling the base - all goes through the v-table anyway.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
563ef56af5
Minor code beauty fixes.
10 years ago
triton
7624635fa3
Added test for C11's atomic type support added in 54267b88a4
.
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
ff76962bf9
Fixed a potential naming conflict.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
1b5de25f8c
Removed implementations for ignored abstract types.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
8a510e4ac9
Workaround abstract implementations being generated even if there's no valid base class.
10 years ago
triton
de74b648f2
Added a workaround for printing non-function member pointers types.
10 years ago
triton
d06c42129f
Fixed GenerateClassFields to only process actual base classes.
...
More specifically, TemplateParameterType was also coming up here.
Rather than checking for specific dependent types just check that we have a base class.
10 years ago
triton
67314905bd
Fixed potential NRE in HasNonIgnoredBase.
10 years ago
triton
54267b88a4
Implemented support for parsing C++11 atomic types.
10 years ago
triton
ddd39a9cf3
Formatting code fixes.
10 years ago
Dimitar Dobrev
f848f62180
Some refactoring to remove redundant members and casts.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
80643e0457
Added support for parameters with type a reference to a fixed-size array.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
7de598b7aa
Add a test for "Improve robustness when handling unexpected FunctionProto type locs.".
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
c183200815
Fixed a regression causing incorrect sizes of types derived from template instantiations.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
triton
b908881517
Simplified Parser::GetDeclMangledName.
10 years ago
triton
1d5b9869c8
Added missing test case for 24bdec82b2
.
10 years ago
triton
462bb5bc68
Fixed warning by removing #pragma once from source file.
10 years ago
triton
aa7f02460e
Fixes dependent bitfield testcase introduced in d6b5fcfe2b
.
...
I extracted a test case based from the Boost crasher but it seems that it was stronger than the original problem.
10 years ago
triton
7c3d80b5c7
Fixed infinite loop in CheckAbiParameters.
10 years ago
triton
24e898bdcf
Fixed infinite loop in CheckDuplicatedNamesPass.
10 years ago
triton
ce7d6b2dc4
Improve robustness when handling unexpected FunctionProto type locs.
...
Fixes an error when parsing Boost code (tuple_basic.hpp).
```
// Swallows any assignment (by Doug Gregor)
namespace detail {
struct swallow_assign;
typedef void (detail::swallow_assign::*ignore_t)();
struct swallow_assign {
swallow_assign(ignore_t(*)(ignore_t)) {}
template<typename T>
swallow_assign const& operator=(const T&) const {
return *this;
}
};
} // namespace detail
template<>
struct make_tuple_traits<detail::ignore_t(detail::ignore_t)> {
typedef detail::swallow_assign type;
};
```
10 years ago
triton
d6b5fcfe2b
Fixed parser crash with dependent-sized bitfields.
10 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.
10 years ago
triton
5f9b484371
Added support for ARMv7k CPU used in Apple WatchOS.
10 years ago
triton
9449e915b3
Use our own version of Clang's TargetInfo when looking up target info.
10 years ago
triton
dade7ceff4
Added Clang's Targets.cpp.
10 years ago
triton
d07b158a98
Revert "Support overriding the alignment of Clang's target info."
...
This reverts commit 0e1e9c971b
.
10 years ago
triton
0e1e9c971b
Support overriding the alignment of Clang's target info.
10 years ago
triton
15db2c04ad
Added a ParserTargetInfo option to the parser options.
...
We'll this to be able to override target details on Clang.
10 years ago
triton
9c2237ae01
Added a constructor to ParserTargetInfo and initialize everything to zero.
10 years ago
triton
08d58f555e
Fixed minor formatting issues in Parser.cpp.
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>
10 years ago
Dimitar Dobrev
5dca339ff2
Forbid the disposal of unowned objects and simplified the generated code.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
1d8f480ef0
Restored a test crashing on Windows on other platforms.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
d769a81ade
Called virtual destructors through the virtual table.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
cc97558bbe
Replaced the redundant references for v-tables with the native-managed map.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
235c556374
Simplified the generated code for v-tables.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
72f062c56f
Reused the virtual call for calls to abstract impls.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
289720d31b
Only hooked the v-tables of wrapped C++ pointers when they have virtual dtors.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
7f8fa9100c
Removed references for v-tables upon destruction of the object.
...
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago
Dimitar Dobrev
f33ae8b801
Revert "Factor the saving of original vtables pointers to its method."
...
This reverts commit 03f610f528
.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
10 years ago