[LLVMbugs] [Bug 14748] New: Formatting of macros causes sefault

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 29 13:52:51 PST 2012


             Bug #: 14748
           Summary: Formatting of macros causes sefault
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: grosser at fim.uni-passau.de
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 9775
  --> http://llvm.org/bugs/attachment.cgi?id=9775
Test file to reproduce the bug

#define FIRST(C) 1
#define SECOND FIRST(\

#define DONOTHING \
  do { \
  } while (false);

Formatting the following code causes a segfault.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list