[LLVMbugs] [Bug 14853] New: Macro continuation characters shouldn't be in column 80 in google3 mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 8 10:05:26 PST 2013


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

             Bug #: 14853
           Summary: Macro continuation characters shouldn't be in column
                    80 in google3 mode
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


#if !defined(MAC_OS_X_VERSION_10_7) || \
    MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7

becomes

#if !defined(MAC_OS_X_VERSION_10_7) ||                                        
\
    MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_7


which isn't common in chromium code at all. Searching the internal google3 repo
for "#define.*\\" suggests it isn't common in google3 either.

In google-style code, the macro continuation character should be on the
leftmost position that's valid on all lines of the macro continuation.

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