llvm-project/clang/unittests/Format
mydeveloperday 2f209ccfbe [clang-format] C# formatting a class with inheritance followed by an attribute specifier assume its a braces initializer
Summary:
https://bugs.llvm.org/show_bug.cgi?id=44340

The rule that prevents `... {} [[....]]`  being treated as a braced initializer for C++ causes problems for C# with attributes, causing it to be incorrectly classified and then messing up the subsequent formatting. (see bug for details of formatting)

Reviewers: mitchell-stellar, klimek, sammccall

Reviewed By: mitchell-stellar

Subscribers: cfe-commits

Tags: #clang-format, #clang

Differential Revision: https://reviews.llvm.org/D71769
2019-12-20 17:07:00 +00:00
..
CMakeLists.txt cmake: Add CLANG_LINK_CLANG_DYLIB option 2019-07-03 22:45:55 +00:00
CleanupTest.cpp [clang-format] Fix cleanup of `AnnotatedLine` to include children nodes. 2019-09-17 15:10:39 +00:00
FormatTest.cpp [clang-format] Add new option to add spaces around conditions 2019-12-03 12:20:54 -05:00
FormatTestCSharp.cpp [clang-format] C# formatting a class with inheritance followed by an attribute specifier assume its a braces initializer 2019-12-20 17:07:00 +00: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 clang-format: [JS] test declared fields. 2019-11-11 16:36:00 +01:00
FormatTestJava.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FormatTestObjC.cpp [clang-format] Add ability to wrap braces after multi-line control statements 2019-10-03 18:42:31 +00: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