llvm-project/clang/unittests/Format
Jonathan Coe 2f9fc8d971 [clang-format] Handle C# property accessors when parsing lines
Summary:
Improve C# `{ get; set; } = default;` formatting by handling it in the UnwrappedLineParser rather than trying to merge lines later.

Remove old logic to merge lines.

Update tests as formatting output has changed (as intended).

Reviewers: krasimir, MyDeveloperDay

Reviewed By: krasimir

Subscribers: cfe-commits

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D78642
2020-04-23 13:25:10 +01:00
..
CMakeLists.txt cmake: Add CLANG_LINK_CLANG_DYLIB option 2019-07-03 22:45:55 +00:00
CleanupTest.cpp [clang-tidy] fix readability-redundant-member-init auto-fix of Function-try-block 2020-02-19 23:04:05 +00:00
FormatTest.cpp Revert "clang-format: support aligned nested conditionals formatting" 2020-04-23 09:25:01 +02:00
FormatTestCSharp.cpp [clang-format] Handle C# property accessors when parsing lines 2020-04-23 13:25:10 +01:00
FormatTestComments.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatTestJS.cpp Revert "clang-format: support aligned nested conditionals formatting" 2020-04-23 09:25:01 +02:00
FormatTestJava.cpp [clang-format/java] format multiple qualified annotations on one declaration better 2020-01-03 12:11:44 -05:00
FormatTestObjC.cpp [clang-format] Don't break multi block parameters on ObjCBreakBeforeNestedBlockParam 2020-04-06 14:20:09 -07:00
FormatTestProto.cpp Revert "Revert "[clang-format] Keep protobuf "package" statement on one line"" 2019-05-10 09:15:11 +00:00
FormatTestRawStrings.cpp [clang-format] Fix indent of trailing raw string param after newline 2019-04-18 17:14:05 +00:00
FormatTestSelective.cpp [clang-format] [PR25010] AllowShortIfStatementsOnASingleLine not working if an "else" statement is present 2019-03-13 08:26:39 +00:00
FormatTestTableGen.cpp [clang-format][TableGen] Don't add spaces around items in square braces. 2019-03-01 00:12:18 +00:00
FormatTestTextProto.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatTestUtils.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NamespaceEndCommentsFixerTest.cpp clang-format: Fix namespace end comments for namespaces with attributes and macros. 2019-07-23 17:49:45 +00:00
SortImportsTestJS.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SortImportsTestJava.cpp [clang-format] [PR43372] - clang-format shows replacements in DOS files when no replacement is needed 2019-10-01 20:20:22 +00:00
SortIncludesTest.cpp Allow additional file suffixes/extensions considered as source in main include grouping 2019-11-12 21:26:52 +00:00
UsingDeclarationsSorterTest.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00