llvm-project/clang/unittests/Format
Daniel Jasper e31388aee9 [clang-format] Don't allow newline after uppercase Obj-C block return types
Fixes the following:
  BOOL (^aaa)(void) = ^BOOL {
  };

The first BOOL's token was getting set to TT_FunctionAnnotationRParen
incorrectly, which was causing an unexpected newline after (^aaa). This
was introduced in r245846.

Patch by Kent Sutherland, thank you!

llvm-svn: 282448
2016-09-26 22:19:08 +00:00
..
CMakeLists.txt clang-format: [JS] sort ES6 imports. 2016-05-20 11:24:24 +00:00
CleanupTest.cpp [clang-format] support header deletion in cleanupAroundReplacemnts. 2016-09-23 15:10:56 +00:00
FormatTest.cpp [clang-format] Don't allow newline after uppercase Obj-C block return types 2016-09-26 22:19:08 +00:00
FormatTestJS.cpp clang-format: [JS] reserved words in method names. 2016-09-22 07:18:00 +00:00
FormatTestJava.cpp Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
FormatTestProto.cpp Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
FormatTestSelective.cpp Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 2016-07-11 13:53:12 +00:00
FormatTestUtils.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
SortImportsTestJS.cpp clang-format: [JS] Fix line breaks before comments when sorting imports. 2016-09-19 07:02:34 +00:00
SortIncludesTest.cpp clang-format: Correctly calculate affected ranges when sorting #includes. 2016-08-30 21:33:41 +00:00