llvm-project/clang/lib/Format
ksyx ee25a327aa [clang-format] Fix SeparateDefinitionBlocks issues
Fixes https://github.com/llvm/llvm-project/issues/52976.

- Make no formatting for macros
- Attach comment with definition headers
- Make no change on use of empty lines at block start/end
- Fix misrecognition of keyword namespace

Differential Revision: https://reviews.llvm.org/D116663
Reviewed By: MyDeveloperDay, HazardyKnusperkeks, curdeius
2022-01-11 12:25:39 -05:00
..
AffectedRangeManager.cpp [clang-format] Use range-for loops. NFC. 2022-01-07 10:01:09 +01:00
AffectedRangeManager.h
BreakableToken.cpp [clang-format] NFC use recently added Style.isJavaScript() 2021-12-21 14:24:12 +00: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] Style to separate definition blocks 2022-01-03 15:47:39 -05:00
ContinuationIndenter.cpp [clang-format][NFC] Merge another two calls to isOneOf 2022-01-03 23:06:55 +01:00
ContinuationIndenter.h [clang-format] Fix AlignOperands when BreakBeforeBinaryOperators is set 2020-05-15 16:40:31 +02:00
DefinitionBlockSeparator.cpp [clang-format] Fix SeparateDefinitionBlocks issues 2022-01-11 12:25:39 -05:00
DefinitionBlockSeparator.h [clang-format] Style to separate definition blocks 2022-01-03 15:47:39 -05:00
Encoding.h [clang-format][PR41964] Fix crash with SIGFPE when TabWidth is set to 0 and line starts with tab 2019-09-18 18:57:09 +00:00
Format.cpp [clang-format] Use prefix increment and decrement. NFC. 2022-01-07 11:19:53 +01:00
FormatInternal.h Move clang/Tooling/Core/Lookup.h to clang/Tooling/Refactoring/Lookup.h 2020-10-20 10:13:28 +01:00
FormatToken.cpp [clang-format] Use range-for loops. NFC. 2022-01-07 10:01:09 +01:00
FormatToken.h [clang-format] PR48916 PointerAlignment not working when using C++20 init-statement in for loop 2021-12-09 10:37:02 +00:00
FormatTokenLexer.cpp [clang-format] NFC use recently added Style.isJavaScript() 2021-12-21 14:24:12 +00:00
FormatTokenLexer.h [clang-format] Add more support for C# 8 nullables 2021-05-06 11:58:38 +02:00
MacroExpander.cpp [clang] Fix a few comment typos to cycle bots 2021-09-20 18:48:34 -04:00
Macros.h [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
NamespaceEndCommentsFixer.cpp [clang-format] Use prefix increment and decrement. NFC. 2022-01-07 11:19:53 +01:00
NamespaceEndCommentsFixer.h
QualifierAlignmentFixer.cpp [clang-format] Use range-for loops. NFC. 2022-01-07 16:06:11 +01: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] Use range-for loops. NFC. 2022-01-07 16:06:11 +01:00
SortJavaScriptImports.h
TokenAnalyzer.cpp [clang-format] Use range-for loops. NFC. 2022-01-07 16:06:11 +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] Use prefix increment and decrement. NFC. 2022-01-07 11:19:53 +01:00
TokenAnnotator.h [clang] Remove unused forward declarations (NFC) 2022-01-08 11:56:40 -08:00
UnwrappedLineFormatter.cpp [clang-format][NFC] Put all state change into the for statement 2022-01-05 12:31:36 +01: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-format] Ensure we can correctly parse lambda in the template argument list 2022-01-10 08:29:35 +00:00
UnwrappedLineParser.h [clang-format][NFC] Handle wrapping after => in mustBreakBefore() 2021-12-21 16:42:52 -08:00
UsingDeclarationsSorter.cpp [clang] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
UsingDeclarationsSorter.h
WhitespaceManager.cpp [clang-format] Use prefix increment and decrement. NFC. 2022-01-07 11:19:53 +01:00
WhitespaceManager.h [clang-format][NFC] Fix typo in comment 2022-01-05 17:33:16 +01:00