The strings from the Octave array are returned in a temporary
std::string object so we need to make a copy of them or else the
final string ends up replicated as all elements.
Unfortunately argcargvtest.i was only checking the final element's
value, so fix it to test both the elements as a regression test for
this, and to catch any similar issues with other target languages.
gdmd is a wrapper which translates command line options from a
dmd-compatible syntax to the syntax gdc uses, which makes the
machinery to run D tests simpler.
There are pre-defined version identifiers for each of the different
compiler implementations so there's no need to define them ourselves.
See list at https://dlang.org/spec/version.html#predefined-versions
- for example, version identifier `LDC` is already defined by ldc.
It seems the parser limitation isn't actually a problem as non of
the cases are valid C++ so drop that from the docs.
Extend test coverage by adding some class methods, including `static` and
`const`.
Seems to be a problem with the directorout typemap for string_view
currently (see the extra $TODO in
Examples/test-suite/perl5/director_string_view_runme.pl).
See #1567
This is a C++14 feature.
SWIG can now parse some cases of this. The limitation is that there
can either be nothing or `const` between the `)` and the end of the
parameter list and the `{` at the start of the body.
Fixes#2446
Use parser error recovery to skip to the closing matching `)` and
issue a warning that we can't deduce the decltype for the expression
(like we already do for any expression which isn't a simple variable
or similar).
Fixes#1589
Helps #2335 (fixes the decltype-related examples)
The "deprecation" warning has been changed to a "removal" warning
with newer JDK versions. This needs to be addressed, but meanwhile
it makes running the testsuite unusably noisy so suppressing it
seems more helpful than not.
Closes: #2556
Previously we had a hard-coded list of allowed combinations in the
grammar, but this suffers from combinatorial explosion, and results
in a vague `Syntax error in input` error for invalid (and missing)
combinations.
This means we now support a number of cases which are valid C++
but weren't supported.
Fixes#302Fixes#2079 (friend constexpr)
Fixes#2474 (virtual explicit)
We now wrap this as a non-static method in PHP, which means the static
form only callable via an object.
Previously this case could end up wrapped as static or non-static
in PHP. If it was wrapped as static, attempting to call non-static
overloaded forms would crash with a segmentation fault.
See #2544