<?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 wrong-encoding.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>64ab2b1d - Improve handling of static assert messages.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#64ab2b1d</link>
        <description>Improve handling of static assert messages.Instead of dumping the string literal (whichquotes it and escape every non-ascii symbol),we can use the content of the string when it is a8 byte string.Wide, UTF-8/UTF-16/32 strings are still completelyescaped, until we clarify how these entities shouldbehave (cf https://wg21.link/p2361).`FormatDiagnostic` is modified to escapenon printable characters and invalid UTF-8.This ensures that unicode characters, spaces and newlines are properly rendered in static messages.This make clang more consistent with other implementationand fixes this tweethttps://twitter.com/jfbastien/status/1298307325443231744 :)Of note, `PaddingChecker` did print out new lines that werelater removed by the diagnostic printing code.To be consistent with its tests, the new lines are removedfrom the diagnostic.Unicode tables updated to both use the Unicode definitionsand the Unicode 14.0 data.U+00AD SOFT HYPHEN is still considered a print characterto match existing practices in terminals, in addition ofbeing considered a formatting character as per Unicode.Reviewed By: aaron.ballman, #clang-language-wgDifferential Revision: https://reviews.llvm.org/D108469

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Fri, 20 Aug 2021 15:52:28 +0000</pubDate>
        <dc:creator>Corentin Jabot &lt;corentinjabot@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a774ba7f - Revert &quot;Improve handling of static assert messages.&quot;</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#a774ba7f</link>
        <description>Revert &quot;Improve handling of static assert messages.&quot;This reverts commit 870b6d21839707a3e4c40a29b526995f065a220f.This seems to break some libc++ tests, reverting while investigating

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Tue, 28 Jun 2022 22:03:23 +0000</pubDate>
        <dc:creator>Corentin Jabot &lt;corentinjabot@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>870b6d21 - Improve handling of static assert messages.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#870b6d21</link>
        <description>Improve handling of static assert messages.Instead of dumping the string literal (whichquotes it and escape every non-ascii symbol),we can use the content of the string when it is a8 byte string.Wide, UTF-8/UTF-16/32 strings are still completelyescaped, until we clarify how these entities shouldbehave (cf https://wg21.link/p2361).`FormatDiagnostic` is modified to escapenon printable characters and invalid UTF-8.This ensures that unicode characters, spaces and newlines are properly rendered in static messages.This make clang more consistent with other implementationand fixes this tweethttps://twitter.com/jfbastien/status/1298307325443231744 :)Of note, `PaddingChecker` did print out new lines that werelater removed by the diagnostic printing code.To be consistent with its tests, the new lines are removedfrom the diagnostic.Unicode tables updated to both use the Unicode definitionsand the Unicode 14.0 data.U+00AD SOFT HYPHEN is still considered a print characterto match existing practices in terminals, in addition ofbeing considered a formatting character as per Unicode.Reviewed By: aaron.ballman, #clang-language-wgDifferential Revision: https://reviews.llvm.org/D108469

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Fri, 20 Aug 2021 15:52:28 +0000</pubDate>
        <dc:creator>Corentin Jabot &lt;corentinjabot@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>7de71613 - Use functions with prototypes when appropriate; NFC</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#7de71613</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 sixth 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/Misc/wrong-encoding.c</description>
        <pubDate>Wed, 09 Feb 2022 22:13:53 +0000</pubDate>
        <dc:creator>Aaron Ballman &lt;aaron@aaronballman.com&gt;</dc:creator>
    </item>
<item>
        <title>d7beb4a1 - add test for r167063</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#d7beb4a1</link>
        <description>add test for r167063llvm-svn: 167089

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Wed, 31 Oct 2012 01:03:35 +0000</pubDate>
        <dc:creator>Seth Cantrell &lt;seth.cantrell@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>a0613170 - Handle string encoding diagnostics when there are too many invalid ranges.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#a0613170</link>
        <description>Handle string encoding diagnostics when there are too many invalid ranges.llvm-svn: 167059

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Tue, 30 Oct 2012 23:22:22 +0000</pubDate>
        <dc:creator>David Blaikie &lt;dblaikie@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>4cfc817a - improve highlighting of invalid string encodings</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#4cfc817a</link>
        <description>improve highlighting of invalid string encodingslimit highlight to exactly the bad encoding, and highlight everybad encoding in a string.llvm-svn: 166900

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Sun, 28 Oct 2012 18:24:46 +0000</pubDate>
        <dc:creator>Seth Cantrell &lt;seth.cantrell@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>639b8d05 - When a bad UTF-8 encoding or bogus escape sequence is encountered in a</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#639b8d05</link>
        <description>When a bad UTF-8 encoding or bogus escape sequence is encountered in astring literal, produce a diagnostic pointing at the erroneous characterrange, not at the start of the literal.llvm-svn: 163459

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Sat, 08 Sep 2012 07:16:20 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>99e2fa87 - Nicer display of unprintable source, and fix caret display for non-ascii text</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#99e2fa87</link>
        <description>Nicer display of unprintable source, and fix caret display for non-ascii textUnprintable source in diagnostics is transformed to a printable form and thendisplayed with reversed colors if possible. Unprintable characters aredisplayed as &lt;U+NNNN&gt; while bytes that do not represent valid characters areshown as &lt;XX&gt;.Column adjustments to diagnostic carets, highlighted ranges, and fixups aremade both for characters escaped as above and for characters which areprintable but take up more than a single column.llvm-svn: 154980

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Wed, 18 Apr 2012 02:44:46 +0000</pubDate>
        <dc:creator>Seth Cantrell &lt;seth.cantrell@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>fae20581 - Nicer display of unprintable source, and fix caret display for non-ascii text</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c#fae20581</link>
        <description>Nicer display of unprintable source, and fix caret display for non-ascii textUnprintable source in diagnostics is transformed to a printable form and thendisplayed with reversed colors if possible. Unprintable characters aredisplayed as &lt;U+NNNN&gt; while bytes that do not represent valid characters areshown as &lt;XX&gt;.Column adjustments to diagnostic carets, highlighted ranges, and fixups aremade both for characters escaped as above and for characters which areprintable but take up more than a single column.llvm-svn: 154946

            List of files:
            /llvm-project-15.0.7/clang/test/Misc/wrong-encoding.c</description>
        <pubDate>Tue, 17 Apr 2012 20:06:03 +0000</pubDate>
        <dc:creator>Seth Cantrell &lt;seth.cantrell@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
