[clang-format][NFCish] Alphabetical sort Format.(h|pp)
I've: - Sorted the members of FormatStyle alphabetical. The enums and structs are kept close to the member. - Sorted the yaml io functions, based on the type they operate on. - Sorted the initializers in getLLVMStyle(), except that penalities are kept at the end. - Sorted the io of FormatStyle, this changes the --dump-config behavior. - Moved the deprecated options into the only input case, this also changes --dump-config, it does not put the not directly used options in the .clang-format anymore. - Sorted the comparisons in operator==. - Added WhiteSpaceMacros in operator==, I've not actively looked if all other members are compared. - This showed flawed tests (or in my opinion a flawed io operation, but that is another discussion and change). Differential Revision: https://reviews.llvm.org/D137409
parent
2e30d326
Please register or sign in to comment