<html>
    <head>
      <base href="http://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 comment in preprocessor macro causes assert fail"
   href="http://llvm.org/bugs/show_bug.cgi?id=20696">20696</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clang-format comment in preprocessor macro causes assert fail
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

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

        <tr>
          <th>OS</th>
          <td>Windows NT
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>diltsman@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12913" name="attach_12913" title="File to run clang-format on">attachment 12913</a> <a href="attachment.cgi?id=12913&action=edit" title="File to run clang-format on">[details]</a></span>
File to run clang-format on

Given the attached file, when I run clang-format from inside Visual Studio it
pops up a dialog box that says:

Error while running clang-format:

Can't find usable .clang-format, using LLVM styel
Assertion failed: TokenText.startswith("/*") &&
TokenText.endswith("*/"), file
..\tools\clang\lib\Format\BreakableToken.cpp, line 257


I am using Visual Studio plugin installer, based on SVN r215355.</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>