<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 --- - clang-format strips new line on <<"
   href="https://llvm.org/bugs/show_bug.cgi?id=25200">25200</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-format strips new line on <<
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.7
          </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>Formatter
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>maic23@live.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>djasper@google.com, klimek@google.com, llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Using
<a href="https://github.com/bitcoin/bitcoin/blob/2887bffcfdc138f53c60091ab2906790971c9af5/src/.clang-format">https://github.com/bitcoin/bitcoin/blob/2887bffcfdc138f53c60091ab2906790971c9af5/src/.clang-format</a>


Steps to reproduce:

$ echo
"ICAgICBmcmllbmQgaW5saW5lIGNvbnN0IGJhc2VfdWludCBvcGVyYXRvci8oY29uc3QgYmFzZV91
aW50JiBhLCBjb25zdCBiYXNlX3VpbnQmIGIpIHsgcmV0dXJuIGJhc2VfdWludChhKSAvPSBiOyB9
CiAgICAgZnJpZW5kIGlubGluZSBjb25zdCBiYXNlX3Vpbn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h
LCBjb25zdCBiYXNlX3VpbnQmIGIpIHsgcmV0dXJuIGEuQ29tcGFyZVRvKGIpIDw9IDA7IH0KICAg
ICBmcmllbmQgaW5saW5lIGJvb2wgb3BlcmF0b3I9PShjb25zdCBiYXNlX3VpbnQmIGEsIHVpbnQ2
NF90IGIpIHsgcmV0dXJuIGEuRXF1YWxUbyhiKTsgfQogICAgIGZyaWVuZCBpbmxpbmUgYm9vbCBv
cGVyYXRvciE9KGNvbnN0IGJhc2VfdWludCYgYSwgdWludDY0X3QgYikgeyByZXR1cm4gIWEuRXF1
YWxUbyhiKTsgfQoK"| base64 --decode |clang-format -style=file

Gives me <a href="http://pastebin.ubuntu.com/12793334/">http://pastebin.ubuntu.com/12793334/</a> instead of not changing the
output.</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>