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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs