<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in string_h.pass.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>87dd5198 - [libc++] Remove support for CloudABI, which has been abandoned</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#87dd5198</link>
        <description>[libc++] Remove support for CloudABI, which has been abandonedBased on https://github.com/NuxiNL/cloudlibc, it appears that the CloudABIproject has been abandoned. This patch removes a bunch of CloudABI specificlogic that had been added to support that platform.Note that some knobs like LIBCXX_ENABLE_STDIN and LIBCXX_ENABLE_STDOUTcoud be useful in their own right, however those are currently broken.If we want to re-add such knobs in the future, we can do it like we&apos;vedone it for localization &amp; friends so that we can officially supportthat configuration.Differential Revision: https://reviews.llvm.org/D108637

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Tue, 24 Aug 2021 15:40:05 +0000</pubDate>
        <dc:creator>Louis Dionne &lt;ldionne.2@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>9178fb73 - [libc++] NFC: Use ASSERT_SAME_TYPE consistently in string.h and wchar.h tests</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#9178fb73</link>
        <description>[libc++] NFC: Use ASSERT_SAME_TYPE consistently in string.h and wchar.h tests

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Thu, 15 Apr 2021 17:02:23 +0000</pubDate>
        <dc:creator>Louis Dionne &lt;ldionne.2@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>44e24d8f - [libc++] Remove test suite workarounds on Apple with old Clangs</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#44e24d8f</link>
        <description>[libc++] Remove test suite workarounds on Apple with old ClangsIn 5fd17ab, we worked around the Apple system headers not providingconst-correct overloads for some &lt;string.h&gt; functions. However, thatrequired an attribute that was only present in recent Clangs at thetime. We can now assume that all supported Clang versions on Appleplatforms do support that attribute.Differential Revision: https://reviews.llvm.org/D100477

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Wed, 14 Apr 2021 13:31:52 +0000</pubDate>
        <dc:creator>Louis Dionne &lt;ldionne.2@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>7fc6a556 - Add include for &apos;test_macros.h&apos; to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#7fc6a556</link>
        <description>Add include for &apos;test_macros.h&apos; to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended.llvm-svn: 362252

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Fri, 31 May 2019 18:35:30 +0000</pubDate>
        <dc:creator>Marshall Clow &lt;mclow.lists@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>2df59c50 - Support tests in freestanding</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#2df59c50</link>
        <description>Support tests in freestandingSummary:Freestanding is *weird*. The standard allows it to differ in a bunch of oddmanners from regular C++, and the committee would like to improve thatsituation. I&apos;d like to make libc++ behave better with what freestanding shouldbe, so that it can be a tool we use in improving the standard. To do that weneed to try stuff out, both with &quot;freestanding the language mode&quot; and&quot;freestanding the library subset&quot;.Let&apos;s start with the super basic: run the libc++ tests in freestanding, usingclang as the compiler, and see what works. The easiest hack to do this:In utils/libcxx/test/config.py add:  self.cxx.compile_flags += [&apos;-ffreestanding&apos;]Run the tests and they all fail.Why? Because in freestanding `main` isn&apos;t special. This &quot;not special&quot; propertyhas two effects: main doesn&apos;t get mangled, and main isn&apos;t allowed to omit its`return` statement. The first means main gets mangled and the linker can&apos;tcreate a valid executable for us to test. The second means we spew out warnings(ew) and the compiler doesn&apos;t insert the `return` we omitted, and main justfalls of the end and does whatever undefined behavior (if you&apos;re luck, ud2leading to non-zero return code).Let&apos;s start my work with the basics. This patch changes all libc++ tests todeclare `main` as `int main(int, char**` so it mangles consistently (enabling usto declare another `extern &quot;C&quot;` main for freestanding which calls the mangledone), and adds `return 0;` to all places where it was missing. This touches 6124files, 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/793819ff360baa845483dde81170feedThis 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 filesystemtests), etc.Once this is in we can create a freestanding bot which will prevent furtherregressions. 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, EricWFSubscribers: christof, jkorous, dexonsmith, arphaman, miyuki, libcxx-commitsDifferential Revision: https://reviews.llvm.org/D57624llvm-svn: 353086

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Mon, 04 Feb 2019 20:31:13 +0000</pubDate>
        <dc:creator>JF Bastien &lt;jfbastien@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>57b08b09 - Update more file headers across all of the LLVM projects in the monorepo</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#57b08b09</link>
        <description>Update more file headers across all of the LLVM projects in the monorepoto reflect the new license. These used slightly different spellings thatdefeated my regular expressions.We understand that people may be surprised that we&apos;re moving the headerentirely to discuss the new license. We checked this carefully with theFoundation&apos;s lawyer and we believe this is the correct approach.Essentially, all code in the project is now made available by the LLVMproject under our new license, so you will see that the license headersinclude that license only. Some of our contributors have contributedcode under our old license, and accordingly, we have retained a copy ofour old license notice in the top-level files in each project andrepository.llvm-svn: 351648

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Sat, 19 Jan 2019 10:56:40 +0000</pubDate>
        <dc:creator>Chandler Carruth &lt;chandlerc@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>5fd17ab1 - Fix overload sets of strchr, strpbrk, strrchr, memchr and strstr from</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#5fd17ab1</link>
        <description>Fix overload sets of strchr, strpbrk, strrchr, memchr and strstr from&lt;string.h&gt; and wcschr, wcspbrk, wcsrchr, wmemchr, and wcsstr from &lt;wchar.h&gt; toprovide a const-correct overload set even when the underlying C library doesnot.This change adds a new macro, _LIBCPP_PREFERRED_OVERLOAD, which (if defined)specifies that a given overload is a better match than an otherwise equallygood function declaration without the overload. This is implemented in modernversions of Clang via __attribute__((enable_if)), and not elsewhere.We use this new macro to define overloads in the global namespace for thesefunctions that displace the overloads provided by the C library, unless webelieve the C library is already providing the correct signatures.llvm-svn: 260337

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Wed, 10 Feb 2016 00:59:02 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>e0cf3b9a - Make support for thread-unsafe C functions optional.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#e0cf3b9a</link>
        <description>Make support for thread-unsafe C functions optional.One of the aspects of CloudABI is that it aims to help you write codethat is thread-safe out of the box. This is very important if you wantto write libraries that are easy to reuse. For CloudABI we decided tonot provide the thread-unsafe functions. So far this is working outpretty well, as thread-unsafety issues are detected really early on.The following patch adds a knob to libc++,_LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS, that can be set to disablethread-unsafe functions that can easily be avoided in practice. Thefollowing functions are not thread-safe:- &lt;clocale&gt;: locale handles should be preferred over setlocale().- &lt;cstdlib&gt;: mbrlen(), mbrtowc() and wcrtomb() should be preferred over  their non-restartable counterparts.- &lt;ctime&gt;: asctime(), ctime(), gmtime() and localtime() are not  thread-safe. The first two are also deprecated by POSIX.Differential Revision:	http://reviews.llvm.org/D8703Reviewed by:	marshallllvm-svn: 240527

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Wed, 24 Jun 2015 08:44:38 +0000</pubDate>
        <dc:creator>Ed Schouten &lt;ed@nuxi.nl&gt;</dc:creator>
    </item>
<item>
        <title>5a83710e - Move test into test/std subdirectory.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp#5a83710e</link>
        <description>Move test into test/std subdirectory.llvm-svn: 224658

            List of files:
            /llvm-project-15.0.7/libcxx/test/std/depr/depr.c.headers/string_h.pass.cpp</description>
        <pubDate>Sat, 20 Dec 2014 01:40:03 +0000</pubDate>
        <dc:creator>Eric Fiselier &lt;eric@efcs.ca&gt;</dc:creator>
    </item>
</channel>
</rss>
