llvm-project/clang/lib/Format
Kazu Hirata 22731dbd75 [clang] Use std::nullopt instead of None in comments (NFC)
This is part of an effort to migrate from llvm::Optional to
std::optional:

https://discourse.llvm.org/t/deprecating-llvm-optional-x-hasvalue-getvalue-getvalueor/63716
2022-12-04 20:31:05 -08: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] Use std::nullopt instead of None in comments (NFC) 2022-12-04 20:31:05 -08: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] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:46 -08: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 [Format] Don't crash on mismatched brackets 2022-11-24 15:14:06 +01:00
TokenAnnotator.h [clang-format] Don't use PPIndentWidth inside multi-line macros 2022-11-19 23:53:48 -08:00
UnwrappedLineFormatter.cpp [clang-format] Don't use PPIndentWidth inside multi-line macros 2022-11-19 23:53:48 -08:00
UnwrappedLineFormatter.h [NFC][clang-format] Fix typo 2022-08-29 09:34:05 +08:00
UnwrappedLineParser.cpp [clang-format] Link the braces of a block in UnwrappedLineParser 2022-12-04 12:01:26 -08:00
UnwrappedLineParser.h [clang-format] Don't use PPIndentWidth inside multi-line macros 2022-11-19 23:53:48 -08:00
UsingDeclarationsSorter.cpp [clang-format] Use ranged for loops. NFC. 2022-02-01 14:10:48 +01:00
UsingDeclarationsSorter.h
WhitespaceManager.cpp [clang-format] Don't move comments if AlignTrailingComments: Leave 2022-12-01 16:07:06 -08:00
WhitespaceManager.h Fix duplicate word typos; NFC 2022-11-08 07:21:23 -05:00