[LLVMbugs] [Bug 14685] New: Formatter shouldn't try to format #error and #warning directives

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 21 10:18:00 PST 2012


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

             Bug #: 14685
           Summary: Formatter shouldn't try to format #error and #warning
                    directives
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


It turns

  #error This file should not be used on 2-byte wchar_t systems

into

#error This file should not be used on 2 - byte wchar_t systems

(note spaces around '-'). Since #error and #warning are usually followed by
literal text, they just shouldn't be formatted at all.

-- 
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