<?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-init.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>22db4824 - Use functions with prototypes when appropriate; NFC</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Sema/string-init.c#22db4824</link>
        <description>Use functions with prototypes when appropriate; NFCA significant number of our tests in C accidentally use functionswithout prototypes. This patch converts the function signatures to havea prototype for the situations where the test is not specific to K&amp;R Cdeclarations. e.g.,  void func();becomes  void func(void);This is the third batch of tests being updated (there are a significantnumber of other tests left to be updated).

            List of files:
            /llvm-project-15.0.7/clang/test/Sema/string-init.c</description>
        <pubDate>Mon, 07 Feb 2022 14:24:09 +0000</pubDate>
        <dc:creator>Aaron Ballman &lt;aaron@aaronballman.com&gt;</dc:creator>
    </item>
<item>
        <title>8f62c5ca - Better diagnostics for string initialization.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Sema/string-init.c#8f62c5ca</link>
        <description>Better diagnostics for string initialization.This commit improves Clang&apos;s diagnostics for string initialization.Where it would previously say:  /tmp/a.c:3:9: error: array initializer must be an initializer list  wchar_t s[] = &quot;Hi&quot;;          ^  /tmp/a.c:4:6: error: array initializer must be an initializer list or string literal  char t[] = L&quot;Hi&quot;;       ^It will now say  /tmp/a.c:3:9: error: initializing wide char array with non-wide string literal  wchar_t s[] = &quot;Hi&quot;;          ^  /tmp/a.c:4:6: error: initializing char array with wide string literal  char t[] = L&quot;Hi&quot;;       ^As a bonus, it also fixes the fact that Clang would previously rejectthis valid C11 code:  char16_t s[] = u&quot;hi&quot;;  char32_t t[] = U&quot;hi&quot;;because it would only recognize the built-in types for char16_t andchar32_t, which do not exist in C.llvm-svn: 181880

            List of files:
            /llvm-project-15.0.7/clang/test/Sema/string-init.c</description>
        <pubDate>Wed, 15 May 2013 11:03:04 +0000</pubDate>
        <dc:creator>Hans Wennborg &lt;hans@hanshq.net&gt;</dc:creator>
    </item>
</channel>
</rss>
