[LLVMbugs] [Bug 20696] New: clang-format comment in preprocessor macro causes assert fail

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 18 09:26:01 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20696

            Bug ID: 20696
           Summary: clang-format comment in preprocessor macro causes
                    assert fail
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: diltsman at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12913
  --> http://llvm.org/bugs/attachment.cgi?id=12913&action=edit
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140818/411e8535/attachment.html>


More information about the llvm-bugs mailing list