https://llvm.org/bugs/show_bug.cgi?id=25167
Bug ID: 25167 Summary: preprocessor throws off AlignConsecutiveDeclarations Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Formatter Assignee: unassignedclangb...@nondot.org Reporter: eric.huht...@gmail.com CC: djas...@google.com, kli...@google.com, llvm-bugs@lists.llvm.org Classification: Unclassified Code is formatted to: #ifndef GUARD #define GUARD int a1; int a2(); #ifdef A #else int a; void f(); #endif int a3; int a4(); #ifdef A #else uint16_t i; unsigned char c; #endif #endif // GUARD note that "f" and "a" are aligned to "i" and "c". both "#else" lines are relevant to the bug. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs