llvm-project/clang/lib/Format
Björn Schäpers 41a09a07ce [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
2022-11-08 21:46:15 +01:00
..
.clang-format [clang-format][NFC] Reformat clang/lib/Format using 6257832bf9 2022-09-21 12:02:49 -07:00
AffectedRangeManager.cpp [clang-format][NFC] Insert/remove braces in clang/lib/Format/ 2022-05-24 19:06:04 -07:00
AffectedRangeManager.h
BreakableToken.cpp Use is_sorted (NFC) 2022-07-29 21:18:42 -07:00
BreakableToken.h [clang-format] Add option to control the spaces in a line comment 2021-02-01 22:48:50 +01:00
CMakeLists.txt [clang-format] Add MacroUnexpander. 2022-07-12 07:11:46 +00:00
ContinuationIndenter.cpp [clang-format] Fix lambda formatting in conditional 2022-11-03 13:08:14 +01:00
ContinuationIndenter.h [clang-format][NFC] Replace most of std::vector with SmallVector 2022-07-13 16:45:22 -07:00
DefinitionBlockSeparator.cpp [clang-format][NFC] Insert/remove braces in clang/lib/Format/ 2022-05-24 19:06:04 -07:00
DefinitionBlockSeparator.h [clang-format] Fix SeparateDefinitionBlocks issues 2022-01-24 14:23:20 +00:00
Encoding.h
Format.cpp [clang-format][NFCish] Alphabetical sort Format.(h|pp) 2022-11-08 21:46:15 +01:00
FormatInternal.h
FormatToken.cpp [clang] adds unary type transformations as compiler built-ins 2022-08-22 03:03:32 +00:00
FormatToken.h [clang] adds unary type transformations as compiler built-ins 2022-08-22 03:03:32 +00:00
FormatTokenLexer.cpp [Format] Fix crash when hitting eof while lexing JS template string 2022-10-06 17:00:41 +02:00
FormatTokenLexer.h [clang-format] Handle Verilog numbers and operators 2022-07-29 00:38:29 +00:00
MacroCallReconstructor.cpp [clang-format][NFC] Reformat clang/lib/Format using 6257832bf9 2022-09-21 12:02:49 -07:00
MacroExpander.cpp [clang-format] Elide unnecessary braces. NFC. 2022-02-02 14:36:01 +01:00
Macros.h [clang-format][NFC] Replace most of std::vector with SmallVector 2022-07-13 16:45:22 -07:00
NamespaceEndCommentsFixer.cpp [clang-format] Fix namespace format when the name is followed by a macro 2022-03-10 15:00:32 -08:00
NamespaceEndCommentsFixer.h
QualifierAlignmentFixer.cpp Remove redundant initialization of Optional (NFC) 2022-08-20 21:18:28 -07:00
QualifierAlignmentFixer.h [clang-format] Fix a crash (assertion) in qualifier alignment when matching template closer is null 2022-01-06 19:40:39 +00:00
SortJavaScriptImports.cpp [clang-format][NFC] Insert/remove braces in clang/lib/Format/ 2022-05-24 19:06:04 -07:00
SortJavaScriptImports.h
TokenAnalyzer.cpp [clang-format] Skip token annotation in passes that don't need it 2022-09-18 11:19:40 -07:00
TokenAnalyzer.h [clang-format] Skip token annotation in passes that don't need it 2022-09-18 11:19:40 -07:00
TokenAnnotator.cpp Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00
TokenAnnotator.h [clang-format] Do not parse certain characters in pragma directives 2022-10-18 16:38:19 -05:00
UnwrappedLineFormatter.cpp [clang-format] Fix mis-attributing preprocessor directives to macros 2022-10-10 19:57:58 -07:00
UnwrappedLineFormatter.h [NFC][clang-format] Fix typo 2022-08-29 09:34:05 +08:00
UnwrappedLineParser.cpp [clang-format][NFC] Remove parsePPElIf() 2022-11-04 00:38:40 -07:00
UnwrappedLineParser.h [clang-format][NFC] Remove parsePPElIf() 2022-11-04 00:38:40 -07:00
UsingDeclarationsSorter.cpp [clang-format] Use ranged for loops. NFC. 2022-02-01 14:10:48 +01:00
UsingDeclarationsSorter.h
WhitespaceManager.cpp [clang-format] Adds a formatter for aligning trailing comments over empty lines 2022-10-30 12:22:39 +00:00
WhitespaceManager.h Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00