This implements an alternative to r327861, namely preserving empty lines before namespace endings.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
- Build Status
Buildable 16824 Build 16824: arc lint + arc unit
Event Timeline
Comment Actions
Looks good.
lib/Format/NamespaceEndCommentsFixer.h | ||
---|---|---|
24 | I don't understand the "if that is to be formatted part". What do you mean? |
lib/Format/NamespaceEndCommentsFixer.h | ||
---|---|---|
24 | I'm documenting the current behavior of the implementation, getting into more detail in the next paragraph of the comments: this returns nullptr if Line is not Affected, even if otherwise would have a namespace token. |
I don't understand the "if that is to be formatted part". What do you mean?