llvm-project/clang/lib/Format
Björn Schäpers 9aab0db13f [clang-format] Improve require and concept handling
- Added an option where to put the requires clauses.
- Renamed IndentRequires to IndentRequiresClause.
- Changed BreakBeforeConceptDeclaration from bool to an enum.

Fixes https://llvm.org/PR32165, and https://llvm.org/PR52401.

Differential Revision: https://reviews.llvm.org/D113319
2022-02-11 22:42:37 +01:00
..
AffectedRangeManager.cpp [clang-format] Assert Line->First. NFC. 2022-01-24 08:54:55 +01:00
AffectedRangeManager.h
BreakableToken.cpp [clang-format] Use wider comment prefix space rule 2022-02-03 21:49:10 +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] Improve require and concept handling 2022-02-11 22:42:37 +01:00
ContinuationIndenter.h [clang-format] Add a BlockIndent option to AlignAfterOpenBracket 2022-01-17 09:03:23 +01:00
DefinitionBlockSeparator.cpp [clang-format] Fix DefSeparator empty line issues 2022-02-07 14:23:21 +00:00
DefinitionBlockSeparator.h [clang-format] Fix SeparateDefinitionBlocks issues 2022-01-24 14:23:20 +00: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] Improve require and concept handling 2022-02-11 22:42:37 +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] Move FormatToken::opensBlockOrBlockTypeList to source file. NFC. 2022-02-10 10:51:03 +01:00
FormatToken.h [clang-format] Improve require and concept handling 2022-02-11 22:42:37 +01:00
FormatTokenLexer.cpp [clang-format] Elide unnecessary braces. NFC. 2022-02-02 15:28:53 +01:00
FormatTokenLexer.h [clang-format] Add more support for C# 8 nullables 2021-05-06 11:58:38 +02:00
MacroExpander.cpp [clang-format] Elide unnecessary braces. NFC. 2022-02-02 14:36:01 +01:00
Macros.h [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
NamespaceEndCommentsFixer.cpp [clang-format] Elide unnecessary braces. NFC. 2022-02-02 15:28:53 +01:00
NamespaceEndCommentsFixer.h
QualifierAlignmentFixer.cpp [clang-format] Honour "// clang-format off" when using QualifierOrder. 2022-02-09 22:15:20 +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] Elide unnecessary braces. NFC. 2022-02-02 15:28:53 +01: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] Improve require and concept handling 2022-02-11 22:42:37 +01:00
TokenAnnotator.h [clang-format] Use ranged for loops. NFC. 2022-02-01 14:10:48 +01:00
UnwrappedLineFormatter.cpp [clang-format] Avoid multiple calls to FormatToken::getNextNonComment(). NFC. 2022-02-11 15:20:11 +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] Improve require and concept handling 2022-02-11 22:42:37 +01:00
UnwrappedLineParser.h [clang-format] Improve require and concept handling 2022-02-11 22:42:37 +01:00
UsingDeclarationsSorter.cpp [clang-format] Use ranged for loops. NFC. 2022-02-01 14:10:48 +01:00
UsingDeclarationsSorter.h
WhitespaceManager.cpp [clang-format] Do not remove required spaces when aligning tokens. 2022-02-10 19:15:27 +01:00
WhitespaceManager.h [clang-format][NFC] Fix typo in comment 2022-01-05 17:33:16 +01:00