<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/libcxx/test/std/algorithms/alg.modifying.operations, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2020-01-14T09:11:10+00:00</updated>
<entry>
<title>[libcxx] [test] Add casts to avoid signed/unsigned mismatch warnings on MSVC++</title>
<updated>2020-01-14T09:11:10+00:00</updated>
<author>
<name>Billy Robert O'Neal III</name>
<email>bion@microsoft.com</email>
</author>
<published>2020-01-14T09:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=6d8abe424a77f736fbed114eeac574b9bfe6b0c1'/>
<id>urn:sha1:6d8abe424a77f736fbed114eeac574b9bfe6b0c1</id>
<content type='text'>
A bug was filed that these warnings should not be emitted as DevCom-883961. ( https://developercommunity.visualstudio.com/content/problem/883961/c4389-signedunsigned-mismatch-should-not-be-emitte.html )
</content>
</entry>
<entry>
<title>[libc++] Fixed copy/copy_n/copy_backward for compilers that do not support is_constant_evaluated.</title>
<updated>2019-11-07T12:39:10+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-11-07T12:30:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=83901cbe5e21906523b7073f8ec7beb4d5a91021'/>
<id>urn:sha1:83901cbe5e21906523b7073f8ec7beb4d5a91021</id>
<content type='text'>
Differential Revision: https://reviews.llvm.org/D69940
</content>
</entry>
<entry>
<title>[libc++] Fix some constexpr tests broken by D68837</title>
<updated>2019-11-07T12:29:17+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-11-06T14:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=e9612e9e851ccd288f83739a1950ebb45d212aee'/>
<id>urn:sha1:e9612e9e851ccd288f83739a1950ebb45d212aee</id>
<content type='text'>
This doesn't fix all the issues with D68837
</content>
</entry>
<entry>
<title>[libc++][P0202] Marked algorithms copy/copy_n/copy_if/copy_backward constexpr</title>
<updated>2019-11-06T12:02:41+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-11-06T12:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=13c90a57165be999c505cfcfaf38755ed518b103'/>
<id>urn:sha1:13c90a57165be999c505cfcfaf38755ed518b103</id>
<content type='text'>
Thanks to Michael Park for the patch.

Differential Revision: https://reviews.llvm.org/D68837
</content>
</entry>
<entry>
<title>libcxx: Rename .hpp files in libcxx/test/support to .h</title>
<updated>2019-08-21T00:14:12+00:00</updated>
<author>
<name>Nico Weber</name>
<email>nicolasweber@gmx.de</email>
</author>
<published>2019-08-21T00:14:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=cc89063bff0f73ec7049a1dcb5d4688ae6806941'/>
<id>urn:sha1:cc89063bff0f73ec7049a1dcb5d4688ae6806941</id>
<content type='text'>
LLVM uses .h as its extension for header files.

Files renamed using:

    for f in libcxx/test/support/*.hpp; do git mv $f ${f%.hpp}.h; done

References to the files updated using:

    for f in $(git diff master | grep 'rename from' | cut -f 3 -d ' '); do
        a=$(basename $f);
        echo $a;
        rg -l $a libcxx | xargs sed -i '' "s/$a/${a%.hpp}.h/";
    done

HPP include guards updated manually using:

    for f in $(git diff master | grep 'rename from' | cut -f 3 -d ' '); do
      echo ${f%.hpp}.h ;
    done | xargs mvim

Differential Revision: https://reviews.llvm.org/D66104

llvm-svn: 369481
</content>
</entry>
<entry>
<title>This patch makes swap functions constexpr. Both swap overloads, swap_ranges and iter_swap are updated (with tests).</title>
<updated>2019-07-05T20:13:34+00:00</updated>
<author>
<name>Zoe Carver</name>
<email>z.zoelec2@gmail.com</email>
</author>
<published>2019-07-05T20:13:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=28e0187175ceeadae61d01fcedefa15f97f454f0'/>
<id>urn:sha1:28e0187175ceeadae61d01fcedefa15f97f454f0</id>
<content type='text'>
llvm-svn: 365238
</content>
</entry>
<entry>
<title>Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.</title>
<updated>2019-05-31T18:35:30+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2019-05-31T18:35:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=7fc6a55688c816f5fc1a5481ae7af25be7500356'/>
<id>urn:sha1:7fc6a55688c816f5fc1a5481ae7af25be7500356</id>
<content type='text'>
llvm-svn: 362252
</content>
</entry>
<entry>
<title>[libc++] Enable deprecation warnings by default</title>
<updated>2019-03-12T20:10:06+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2019-03-12T20:10:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a470a13a7063e8c5318fe4f5ba864320092c6c7b'/>
<id>urn:sha1:a470a13a7063e8c5318fe4f5ba864320092c6c7b</id>
<content type='text'>
Summary:
In r342843, I added deprecation warnings to some facilities that were
deprectated in C++14 and C++17. However, those deprecation warnings
were not enabled by default.

After discussing this on IRC, we had finally gotten consensus to enable
those warnings by default, and I'm getting around to doing that only
now.

Reviewers: mclow.lists, EricWF

Subscribers: christof, jkorous, dexonsmith, jdoerfert, libcxx-commits

Differential Revision: https://reviews.llvm.org/D58140

llvm-svn: 355961
</content>
</entry>
<entry>
<title>Support tests in freestanding</title>
<updated>2019-02-04T20:31:13+00:00</updated>
<author>
<name>JF Bastien</name>
<email>jfbastien@apple.com</email>
</author>
<published>2019-02-04T20:31:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=2df59c50688c122bbcae7467d3eaf862c3ea3088'/>
<id>urn:sha1:2df59c50688c122bbcae7467d3eaf862c3ea3088</id>
<content type='text'>
Summary:
Freestanding is *weird*. The standard allows it to differ in a bunch of odd
manners from regular C++, and the committee would like to improve that
situation. I'd like to make libc++ behave better with what freestanding should
be, so that it can be a tool we use in improving the standard. To do that we
need to try stuff out, both with "freestanding the language mode" and
"freestanding the library subset".

Let's start with the super basic: run the libc++ tests in freestanding, using
clang as the compiler, and see what works. The easiest hack to do this:

In utils/libcxx/test/config.py add:

  self.cxx.compile_flags += ['-ffreestanding']

Run the tests and they all fail.

Why? Because in freestanding `main` isn't special. This "not special" property
has two effects: main doesn't get mangled, and main isn't allowed to omit its
`return` statement. The first means main gets mangled and the linker can't
create a valid executable for us to test. The second means we spew out warnings
(ew) and the compiler doesn't insert the `return` we omitted, and main just
falls of the end and does whatever undefined behavior (if you're luck, ud2
leading to non-zero return code).

Let's start my work with the basics. This patch changes all libc++ tests to
declare `main` as `int main(int, char**` so it mangles consistently (enabling us
to declare another `extern "C"` main for freestanding which calls the mangled
one), and adds `return 0;` to all places where it was missing. This touches 6124
files, and I apologize.

The former was done with The Magic Of Sed.

The later was done with a (not quite correct but decent) clang tool:

  https://gist.github.com/jfbastien/793819ff360baa845483dde81170feed

This works for most tests, though I did have to adjust a few places when e.g.
the test runs with `-x c`, macros are used for main (such as for the filesystem
tests), etc.

Once this is in we can create a freestanding bot which will prevent further
regressions. After that, we can start the real work of supporting C++
freestanding fairly well in libc++.

&lt;rdar://problem/47754795&gt;

Reviewers: ldionne, mclow.lists, EricWF

Subscribers: christof, jkorous, dexonsmith, arphaman, miyuki, libcxx-commits

Differential Revision: https://reviews.llvm.org/D57624

llvm-svn: 353086
</content>
</entry>
<entry>
<title>D14686: 'Protect against overloaded comma in random_shuffle and improve tests' I had to cut back on the tests with this, because they were not C++03 friendly. Thanks to gribozavr for the patch</title>
<updated>2019-01-24T19:20:19+00:00</updated>
<author>
<name>Marshall Clow</name>
<email>mclow.lists@gmail.com</email>
</author>
<published>2019-01-24T19:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=5a8525e0b6d2fb18e54db6f484597c81c7a067d7'/>
<id>urn:sha1:5a8525e0b6d2fb18e54db6f484597c81c7a067d7</id>
<content type='text'>
llvm-svn: 352087
</content>
</entry>
</feed>
