<?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 warn-assignment-condition.cpp</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>db2630fb - Unrevert r166268, reverted in r166272, with a fix for the issue which Nick</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#db2630fb</link>
        <description>Unrevert r166268, reverted in r166272, with a fix for the issue which Nickfound: if an overloaded operator&amp; is present before a template definition,the expression &amp;T::foo is represented as a CXXOperatorCallExpr, not as aUnaryOperator, so we didn&apos;t notice that it&apos;s permitted to reference a non-staticdata member of an unrelated class.While investigating this, I discovered another problem in this area: we aretreating template default arguments as unevaluated contexts during substitution,resulting in performing incorrect checks for uses of non-static data members inC++11. That is not fixed by this patch (I&apos;ll look into this soon; it&apos;s relatedto the failure to correctly instantiate constexpr function templates), but wasresulting in this bug not firing in C++11 mode (except with -Wc++98-compat).Original message:PR14124: When performing template instantiation of a qualified-id outside of aclass, diagnose if the qualified-id instantiates to a non-static class member.llvm-svn: 166385

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Sun, 21 Oct 2012 03:28:35 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>2e3b7169 - Revert r166268, this fix for a crash-on-invalid introduced a rejects-valid.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#2e3b7169</link>
        <description>Revert r166268, this fix for a crash-on-invalid introduced a rejects-valid.Richard has an unreduced testcase to work with.llvm-svn: 166272

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Fri, 19 Oct 2012 08:08:02 +0000</pubDate>
        <dc:creator>Nick Lewycky &lt;nicholas@mxc.ca&gt;</dc:creator>
    </item>
<item>
        <title>b2d6df5c - PR14124: When performing template instantiation of a qualified-id outside of a</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#b2d6df5c</link>
        <description>PR14124: When performing template instantiation of a qualified-id outside of aclass, diagnose if the qualified-id instantiates to a non-static class member.llvm-svn: 166268

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Fri, 19 Oct 2012 06:32:17 +0000</pubDate>
        <dc:creator>Richard Smith &lt;richard-llvm@metafoo.co.uk&gt;</dc:creator>
    </item>
<item>
        <title>99c0966f - Place &apos;equality comparison with extraneous parentheses...&apos; into a subgroup of -Wparentheses called -Wparentheses-equality.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#99c0966f</link>
        <description>Place &apos;equality comparison with extraneous parentheses...&apos; into a subgroup of -Wparentheses called -Wparentheses-equality.llvm-svn: 139180

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Tue, 06 Sep 2011 20:58:32 +0000</pubDate>
        <dc:creator>Ted Kremenek &lt;kremenek@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>ba699d61 - Don&apos;t do the checks of Sema::DiagnoseEqualityWithExtraParens() on type-dependent expressions. Fixes rdar://9027658.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#ba699d61</link>
        <description>Don&apos;t do the checks of Sema::DiagnoseEqualityWithExtraParens() on type-dependent expressions. Fixes rdar://9027658.llvm-svn: 128437

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Mon, 28 Mar 2011 23:52:04 +0000</pubDate>
        <dc:creator>Argyrios Kyrtzidis &lt;akyrtzi@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>ae022096 - Remove redundant check to not warn for warn_equality_with_extra_parens if we are in a macro.  This is checked twice.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#ae022096</link>
        <description>Remove redundant check to not warn for warn_equality_with_extra_parens if we are in a macro.  This is checked twice.llvm-svn: 124714

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Wed, 02 Feb 2011 02:20:30 +0000</pubDate>
        <dc:creator>Ted Kremenek &lt;kremenek@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>c358d9f3 - Don&apos;t warn about extraneous &apos;()&apos; around a comparison if it occurs within a macro.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#c358d9f3</link>
        <description>Don&apos;t warn about extraneous &apos;()&apos; around a comparison if it occurs within a macro.Macros frequently contain extra &apos;()&apos; to make instantiation less error prone.This warning was flagging a ton of times on postgresql because of its use of macros.llvm-svn: 124695

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Tue, 01 Feb 2011 22:36:09 +0000</pubDate>
        <dc:creator>Ted Kremenek &lt;kremenek@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>f4f8278c - Don&apos;t warn for &quot;if ((a == b))&quot; if the parens came from a macro. Thanks to Fariborz for the hint!</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#f4f8278c</link>
        <description>Don&apos;t warn for &quot;if ((a == b))&quot; if the parens came from a macro. Thanks to Fariborz for the hint!llvm-svn: 124689

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Tue, 01 Feb 2011 22:23:56 +0000</pubDate>
        <dc:creator>Argyrios Kyrtzidis &lt;akyrtzi@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>582dd685 - For &quot;if ((a == b))&quot; only warn if &apos;a&apos; is a modifiable l-value. Caught by John!</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#582dd685</link>
        <description>For &quot;if ((a == b))&quot; only warn if &apos;a&apos; is a modifiable l-value. Caught by John!llvm-svn: 124675

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Tue, 01 Feb 2011 19:32:59 +0000</pubDate>
        <dc:creator>Argyrios Kyrtzidis &lt;akyrtzi@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>8b6ec687 - Warn for &quot;if ((a == b))&quot; where the equality expression is needlessly wrapped inside parentheses.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#8b6ec687</link>
        <description>Warn for &quot;if ((a == b))&quot; where the equality expression is needlessly wrapped inside parentheses.It&apos;s highly likely that the user intended an assignment used as condition.Addresses rdar://8848646.llvm-svn: 124668

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Tue, 01 Feb 2011 18:24:22 +0000</pubDate>
        <dc:creator>Argyrios Kyrtzidis &lt;akyrtzi@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>2d4f64f4 - Warn about the use of unparenthesized |= in conditionals (which may be</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#2d4f64f4</link>
        <description>Warn about the use of unparenthesized |= in conditionals (which may bea typo for !=). Fixes PR9001, from Hans Wennborg!llvm-svn: 123836

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Wed, 19 Jan 2011 16:50:08 +0000</pubDate>
        <dc:creator>Douglas Gregor &lt;dgregor@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>2bf2d3d0 - When diagnosing suspicious precedence or assignments, move the fix-it</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#2bf2d3d0</link>
        <description>When diagnosing suspicious precedence or assignments, move the fix-itthat adds parentheses from the main diagnostic down to a newnote. This way, when the fix-it represents a choice between twooptions, each of the options is associted with a note. There is nodefault option in such cases. For example:/Users/dgregor/t.c:2:9: warning: &amp; has lower precedence than ==; ==will be      evaluated first [-Wparentheses]  if (x &amp; y == 0) {        ^~~~~~~~/Users/dgregor/t.c:2:9: note: place parentheses around the &amp;expression to      evaluate it first  if (x &amp; y == 0) {        ^      (    )/Users/dgregor/t.c:2:9: note: place parentheses around the ==expression to      silence this warning  if (x &amp; y == 0) {        ^          (     )llvm-svn: 101249

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Wed, 14 Apr 2010 16:09:52 +0000</pubDate>
        <dc:creator>Douglas Gregor &lt;dgregor@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>fa1e36d0 - Improve the fix-its for -Wparentheses to ensure that the fix-it</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#fa1e36d0</link>
        <description>Improve the fix-its for -Wparentheses to ensure that the fix-itsuggestions follow recovery. Additionally, add a note to thesediagnostics which suggests a fix-it for changing the behavior to whatthe user probably meant. Examples:t.cpp:2:9: warning: &amp; has lower precedence than ==; == will be evaluated first      [-Wparentheses]  if (i &amp; j == k) {        ^~~~~~~~          (     )t.cpp:2:9: note: place parentheses around the &amp; expression to evaluate it first  if (i &amp; j == k) {        ^      (    )t.cpp:14:9: warning: using the result of an assignment as a conditionwithout      parentheses [-Wparentheses]  if (i = f()) {      ~~^~~~~      (      )t.cpp:14:9: note: use &apos;==&apos; to turn this assignment into an equalitycomparison  if (i = f()) {        ^        ==llvm-svn: 92975

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Fri, 08 Jan 2010 00:20:23 +0000</pubDate>
        <dc:creator>Douglas Gregor &lt;dgregor@apple.com&gt;</dc:creator>
    </item>
<item>
        <title>8fbe78f6 - Update tests to use %clang_cc1 instead of &apos;clang-cc&apos; or &apos;clang -cc1&apos;.</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#8fbe78f6</link>
        <description>Update tests to use %clang_cc1 instead of &apos;clang-cc&apos; or &apos;clang -cc1&apos;. - This is designed to make it obvious that %clang_cc1 is a &quot;test variable&quot;   which is substituted. It is &apos;%clang_cc1&apos; instead of &apos;%clang -cc1&apos; because it   can be useful to redefine what gets run as &apos;clang -cc1&apos; (for example, to set   a default target).llvm-svn: 91446

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Tue, 15 Dec 2009 20:14:24 +0000</pubDate>
        <dc:creator>Daniel Dunbar &lt;daniel@zuster.org&gt;</dc:creator>
    </item>
<item>
        <title>d5707abd - Implement -Wparentheses:  warn about using assignments in contexts that require</title>
        <link>http://172.16.0.5:8080/history/llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp#d5707abd</link>
        <description>Implement -Wparentheses:  warn about using assignments in contexts that requireconditions.  Add a fixit to insert the parentheses.  Also fix a very minorpossible memory leak in &apos;for&apos; conditions.Fixes PR 4876 and rdar://problem/7289172llvm-svn: 83907

            List of files:
            /llvm-project-15.0.7/clang/test/SemaCXX/warn-assignment-condition.cpp</description>
        <pubDate>Mon, 12 Oct 2009 21:59:07 +0000</pubDate>
        <dc:creator>John McCall &lt;rjmccall@apple.com&gt;</dc:creator>
    </item>
</channel>
</rss>
