llvm-project/clang/lib/Format
Danil Sidoruk d8d331bc97 [clang-format] Fix aligning of java-style declarations
- Modify TokenAnnotator to work fine with java-style array declarations.
- Add test for aligning of java declarations.

Fixes #55931.

Differential Revision: https://reviews.llvm.org/D129628
2022-08-15 20:27:15 -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
CMakeLists.txt [clang-format] Add MacroUnexpander. 2022-07-12 07:11:46 +00:00
ContinuationIndenter.cpp [clang-format] Handle Verilog case statements 2022-07-29 00:38:30 +00: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 Use is_contained (NFC) 2022-07-30 10:35:54 -07:00
FormatInternal.h
FormatToken.cpp Revert "[clang] adds unary type transformations as compiler built-ins" 2022-08-14 15:58:21 -04:00
FormatToken.h Revert "[clang] adds unary type transformations as compiler built-ins" 2022-08-14 15:58:21 -04:00
FormatTokenLexer.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
FormatTokenLexer.h [clang-format] Handle Verilog numbers and operators 2022-07-29 00:38:29 +00:00
MacroCallReconstructor.cpp Fix build errors. 2022-07-12 07:43:26 +00: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 [clang-format] Fix QualifierAlignment with global namespace qualified types. 2022-05-26 15:02:33 +02: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] Reserve vectors when the number of items is known beforehand. NFC. 2022-02-03 10:38:23 +01:00
TokenAnalyzer.h Make clang-format fuzz through Lexing with asserts enabled. 2021-11-19 14:44:06 +01:00
TokenAnnotator.cpp [clang-format] Fix aligning of java-style declarations 2022-08-15 20:27:15 -07:00
TokenAnnotator.h [clang-format] Handle Verilog modules 2022-07-29 00:38:30 +00:00
UnwrappedLineFormatter.cpp [clang-format] Handle Verilog modules 2022-07-29 00:38:30 +00:00
UnwrappedLineFormatter.h [clang-format] Fix the issue that empty lines being removed at the beginning of namespace 2021-06-27 15:59:21 +01:00
UnwrappedLineParser.cpp [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
UnwrappedLineParser.h Fixed a number of typos 2022-08-01 13:13:18 -04:00
UsingDeclarationsSorter.cpp [clang-format] Use ranged for loops. NFC. 2022-02-01 14:10:48 +01:00
UsingDeclarationsSorter.h
WhitespaceManager.cpp [clang-format][NFC] Format lib/Format and unittests/Format in clang 2022-06-09 02:25:06 -07:00
WhitespaceManager.h [clang-format] Minimize the damage caused by AlignArrayOfStructures when working on non square arrays 2022-03-12 17:22:31 +00:00