This patch fixes bug https://bugs.llvm.org/show_bug.cgi?id=3313: a comment line
was aligned with the next #ifdef even in the presence of an empty line between
them.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 8153 Build 8153: arc lint + arc unit
Event Timeline
Comment Actions
I still think we should make this dependent on the current indentation. Why do you think this is better?
Comment Actions
Some small comments, otherwise looks good.
lib/Format/TokenAnnotator.cpp | ||
---|---|---|
1706 | Add a comment a long the lines of: // If the comment is currently aligned with the line immediately following it, // that's probably intentional and we should keep it. And maybe rename s/UpdateLevel/AlignedWithNextLine/ | |
unittests/Format/FormatTest.cpp | ||
855 ↗ | (On Diff #106205) | Please format this with clang-format. |
Add a comment a long the lines of:
And maybe rename s/UpdateLevel/AlignedWithNextLine/