<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Too much information printed in macro diagnostic message (binary operator)"
   href="https://llvm.org/bugs/show_bug.cgi?id=24432">24432</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Too much information printed in macro diagnostic message (binary operator)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>zhengkai@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>24423
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>#define SELF(x) x
#define APPLY(f,x,y) x SELF(f) y

struct node {
};

node ff;

int r = APPLY(+,ff,1);

Output is:
:69:15: error: invalid operands to binary expression ('node' and 'int')
int r = APPLY(+,ff,1);
              ^ ~~ ~
:61:29: note: expanded from macro 'APPLY'
#define APPLY(f,x,y) x SELF(f) y
                            ^
:60:17: note: expanded from macro 'SELF'
#define SELF(x) x
                ^

At least the last macro expansion should not be printed.
And whether the APPLY macro should be printed remains a question.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>