<?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 enum-enum-conversion.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>882915df - Enum conversion warning when one signed and other unsigned.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/Sema/enum-enum-conversion.c#882915df</link>
        <description>Enum conversion warning when one signed and other unsigned.Ensures an -Wenum-conversion warning happens when one of the enums issigned and the other is unsigned. Also adds a test file to verify thesewarnings.This warning would not happen since the -Wsign-conversion would make adiagnostic then return, never allowing the -Wenum-conversion checks.For example:Cenum PE { P = -1 };enum NE { N };enum NE conv(enum PE E) { return E; }Before this would only create a diagnostic with -Wsign-conversion andnever on -Wenum-conversion. Now it will create a diagnostic for both-Wsign-conversion and -Wenum-conversion.I could change it to just warn on -Wenum-conversion as that was what Iinitially did. Seeing PR35200 (or GitHub Issue 316268), I let bothdiagnostics check so that the sign conversion could generate a warning.

            List of files:
            /llvm-project-15.0.7/clang/test/Sema/enum-enum-conversion.c</description>
        <pubDate>Mon, 09 May 2022 14:15:10 +0000</pubDate>
        <dc:creator>Micah Weston &lt;micahsweston@gmail.com&gt;</dc:creator>
    </item>
</channel>
</rss>
