llvm-project/clang/unittests/Format
Owen Pan 682808d9c9 Reland [clang-format] Add a space between an overloaded operator and '>'
The token annotator doesn't annotate the template opener and closer
as such if they enclose an overloaded operator. This causes the
space between the operator and the closer to be removed, resulting
in invalid C++ code.

Fixes #58602.

Differential Revision: https://reviews.llvm.org/D143755
2023-03-20 03:01:22 -07:00
..
.clang-format [clang-format][NFC] Set LineEnding to LF in config files 2023-01-22 02:53:06 -08:00
BracesInserterTest.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
BracesRemoverTest.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
CleanupTest.cpp
CMakeLists.txt [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
ConfigParseTest.cpp [clang-format] PackConstructorInitializers support PCIS_OnlyNextLine 2023-02-06 19:39:05 +08:00
DefinitionBlockSeparatorTest.cpp [clang-format] Format unit tests with InsertBraces/RemoveBracesLLVM 2022-05-21 16:13:35 -07:00
FormatReplacementTest.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
FormatTest.cpp Reland [clang-format] Add a space between an overloaded operator and '>' 2023-03-20 03:01:22 -07:00
FormatTestBase.h [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
FormatTestComments.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
FormatTestCSharp.cpp [Format] Don't crash on mismatched brackets 2022-11-24 15:14:06 +01:00
FormatTestJava.cpp [clang-format] Fix aligning of java-style declarations 2022-08-15 20:27:15 -07:00
FormatTestJS.cpp [clalng-format] Fix handling of TypeScript tuples with optional last member 2023-02-21 02:51:56 -08:00
FormatTestJson.cpp [clang-format] JSON formatting add new option for controlling newlines in json arrays 2022-09-19 17:54:39 +01:00
FormatTestMacroExpansion.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
FormatTestObjC.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
FormatTestProto.cpp Fix format for case in .proto files 2023-01-16 17:43:50 +00:00
FormatTestRawStrings.cpp
FormatTestSelective.cpp [clang-format] Avoid crash in LevelIndentTracker. 2022-07-07 10:15:45 +02:00
FormatTestTableGen.cpp
FormatTestTextProto.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
FormatTestUtils.h [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
FormatTestVerilog.cpp [clang-format] Fix non-case colons in Verilog case lines 2023-03-19 21:41:14 +00:00
FormatTokenSourceTest.cpp [clang-format] Enable FormatTokenSource to insert tokens. 2023-02-15 12:39:24 +00:00
IntegerLiteralSeparatorTest.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
MacroCallReconstructorTest.cpp [clang-format] Add simple macro replacements in formatting. 2023-02-24 15:44:24 +00:00
MacroExpanderTest.cpp [clang-format] Add simple macro replacements in formatting. 2023-02-24 15:44:24 +00:00
NamespaceEndCommentsFixerTest.cpp
QualifierFixerTest.cpp [clang-format][NFC] Refactor formatting unit tests. 2023-03-01 12:36:07 +00:00
SortImportsTestJava.cpp
SortImportsTestJS.cpp
SortIncludesTest.cpp [clang] Don't including None.h (NFC) 2022-12-08 23:36:50 -08:00
TestLexer.h [clang-format] Add simple macro replacements in formatting. 2023-02-24 15:44:24 +00:00
TokenAnnotatorTest.cpp Reland [clang-format] Add a space between an overloaded operator and '>' 2023-03-20 03:01:22 -07:00
UsingDeclarationsSorterTest.cpp [clang-format] SortUsingDeclarations support lexicographic order 2023-01-20 21:34:57 +08:00