diff options
author | Björn Schäpers <bjoern@hazardy.de> | 2022-11-04 12:38:06 +0100 |
---|---|---|
committer | Björn Schäpers <bjoern@hazardy.de> | 2022-11-08 21:46:15 +0100 |
commit | 41a09a07ce4ddd1e97ce0430d1debe1dcc853890 (patch) | |
tree | f87648f84faa3d5939e573576fe7de1b52cf0c96 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2e30d326de4ba11a77d5ccd132c155ad72923c5e (diff) | |
download | llvm-41a09a07ce4ddd1e97ce0430d1debe1dcc853890.zip llvm-41a09a07ce4ddd1e97ce0430d1debe1dcc853890.tar.gz llvm-41a09a07ce4ddd1e97ce0430d1debe1dcc853890.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions