Details
Diff Detail
- Repository
- rC Clang
Event Timeline
lib/Format/Format.cpp | ||
---|---|---|
767 | If I understand correctly this is meant to be ObjC-specific flag. I feel like this should be put in general config (next to GoogleStyle.ObjcSpaceAfterProperty and GoogleStyle.ObjCSpaceBeforeProtocolList; ~50 lines above). |
lib/Format/Format.cpp | ||
---|---|---|
767 | Done. It looked like all the modifications were alphabetized, so I moved it between GoogleStyle.AlwaysBreakTemplateDeclarations and GoogleStyle.ConstructorInitializerAllOnOneLineOrOnePerLine. |
lib/Format/Format.cpp | ||
---|---|---|
767 | Actually, on second thought, I've just renamed it to ObjCBinPackProtocolList. |
I believe that I have consensus from Google to be able to approve this. I sent out a last call for dissenting opinions. If I don't hear anything I plan on approving tomorrow.
If I understand correctly this is meant to be ObjC-specific flag. I feel like this should be put in general config (next to GoogleStyle.ObjcSpaceAfterProperty and GoogleStyle.ObjCSpaceBeforeProtocolList; ~50 lines above).
To me putting it inside 'if' check means different value is used for ObjC than for other languages (what isn't the case here, as this flag shouldn't be used in formatting other languages code).