<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal, branch v2.13.3</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>v2.13.3</title>
<updated>2020-10-31T17:21:23+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-10-31T17:21:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=ff349a50bfc6214b4081f4ca63c7de35e2162f60'/>
<id>ff349a50bfc6214b4081f4ca63c7de35e2162f60</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix potential infinite loops in generators combined with section filter</title>
<updated>2020-10-31T17:04:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-10-22T12:20:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=765ac08f0811f3a9d2cd6d3bdaa6cbe457457adc'/>
<id>765ac08f0811f3a9d2cd6d3bdaa6cbe457457adc</id>
<content type='text'>
The problem was that under specific circumstances, namely that none
of their children progressed, `GeneratorTracker` will not progress.
This was changed recently, to allow for code like this, where a
`SECTION` follows a `GENERATE` at the same level:

```cpp
SECTION("A") {}
auto a = GENERATE(1, 2);
SECTION("B") {}
```

However, this interacted badly with `SECTION` filters (`-c foo`),
as they could deactivate all `SECTION`s below a generator, and thus
stop it from progressing forever. This commit makes GeneratorTracker
check whether there are any filters active, and if they are, it checks
whether its section-children can ever run.

Fixes #2025
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was that under specific circumstances, namely that none
of their children progressed, `GeneratorTracker` will not progress.
This was changed recently, to allow for code like this, where a
`SECTION` follows a `GENERATE` at the same level:

```cpp
SECTION("A") {}
auto a = GENERATE(1, 2);
SECTION("B") {}
```

However, this interacted badly with `SECTION` filters (`-c foo`),
as they could deactivate all `SECTION`s below a generator, and thus
stop it from progressing forever. This commit makes GeneratorTracker
check whether there are any filters active, and if they are, it checks
whether its section-children can ever run.

Fixes #2025
</pre>
</div>
</content>
</entry>
<entry>
<title>v2.13.2</title>
<updated>2020-10-07T09:43:02+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-10-07T09:43:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=87074da73ecb1c2e7c35fd14f50ca21c4c002adc'/>
<id>87074da73ecb1c2e7c35fd14f50ca21c4c002adc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve detection of std::uncaught_exceptions support</title>
<updated>2020-10-06T09:07:53+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-10-06T09:07:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e6f5e05ebcc46355fe737d8d747f8ed95edc99d1'/>
<id>e6f5e05ebcc46355fe737d8d747f8ed95edc99d1</id>
<content type='text'>
The problem was that Catch2 did not reliably include `&lt;exception&gt;`
before it checked for the feature test macro for
`std::uncaught_exceptions`. To avoid overhead of including
`&lt;exception&gt;` everywhere, the configuration check was split out
into a separate header.

Closes #2021
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was that Catch2 did not reliably include `&lt;exception&gt;`
before it checked for the feature test macro for
`std::uncaught_exceptions`. To avoid overhead of including
`&lt;exception&gt;` everywhere, the configuration check was split out
into a separate header.

Closes #2021
</pre>
</div>
</content>
</entry>
<entry>
<title>Workaround AppleClang bug by renaming TestHasher constructor argument</title>
<updated>2020-10-02T21:22:49+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-10-02T21:22:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=7c75ecaef441e951a1b9240c5400e2947f190d48'/>
<id>7c75ecaef441e951a1b9240c5400e2947f190d48</id>
<content type='text'>
As far as I understand the standard, if there is a function called
`rng` in the global namespace, and a function argument called `rng`,
then the argument should shadow the function. This then means that
uses of `rng` inside the function should refer to the argument.

This is not the case for AppleClang 12.0.0. Luckily the workaround
is simple enough; just rename the argument. Given that the function
is 3 lines and uncomplicated, the change of the name doesn't really
affect readability.

Still, WTF AppleClang?

Closes #2030
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As far as I understand the standard, if there is a function called
`rng` in the global namespace, and a function argument called `rng`,
then the argument should shadow the function. This then means that
uses of `rng` inside the function should refer to the argument.

This is not the case for AppleClang 12.0.0. Luckily the workaround
is simple enough; just rename the argument. Given that the function
is 3 lines and uncomplicated, the change of the name doesn't really
affect readability.

Still, WTF AppleClang?

Closes #2030
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable __builtin_constant_p when compiling with nvcc</title>
<updated>2020-09-18T14:07:18+00:00</updated>
<author>
<name>Will Pazner</name>
</author>
<published>2020-09-17T16:45:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=00db4fb4970a3f31900581b8018dd77cdbc8f2b4'/>
<id>00db4fb4970a3f31900581b8018dd77cdbc8f2b4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make experimental capture work on Windows with read-write temp file behavior</title>
<updated>2020-09-10T18:14:18+00:00</updated>
<author>
<name>Travis Wilson</name>
</author>
<published>2020-09-01T00:19:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a2e5ce241839c55a85e52ea12d7b444f2cbe20e0'/>
<id>a2e5ce241839c55a85e52ea12d7b444f2cbe20e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>v2.13.1</title>
<updated>2020-09-07T10:34:55+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2020-09-07T10:34:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=fd9f5ac661f87335ecd70d39849c1d3a90f1c64d'/>
<id>fd9f5ac661f87335ecd70d39849c1d3a90f1c64d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove superfluous values</title>
<updated>2020-08-27T09:15:58+00:00</updated>
<author>
<name>Dawid Kurek</name>
</author>
<published>2020-08-24T08:03:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=f0dc4d9be078d21ccabcb0798f03c332a153f84f'/>
<id>f0dc4d9be078d21ccabcb0798f03c332a153f84f</id>
<content type='text'>
The `0`s were needed for the expansion of parameter pack for the sake of
expander. Now when we have `index++` it is no more needed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `0`s were needed for the expansion of parameter pack for the sake of
expander. Now when we have `index++` it is no more needed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Support sentinel-based ranges in default stringify (#2004)</title>
<updated>2020-08-18T08:34:47+00:00</updated>
<author>
<name>Sean Middleditch</name>
</author>
<published>2020-08-18T08:34:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=284672cc84f3fd53332618d1654d95bc4254ff3f'/>
<id>284672cc84f3fd53332618d1654d95bc4254ff3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
