llvm-project/clang/unittests/Format
Daniel Jasper 9cb1ac28b9 clang-format: Fixed missing space between Obj-C for/in and a typecast.
Fixes this bug: https://llvm.org/bugs/show_bug.cgi?id=24504

TokenAnnotator::spaceRequiredBetween was handling TT_ForEachMacro but
not TT_ObjCForIn, so lines that look like:

  for (id nextObject in (NSArray *)myArray)

would incorrectly turn into:

  for (id nextObject in(NSArray *)myArray)

Patch by Kent Sutherland, thank you.

llvm-svn: 249553
2015-10-07 15:09:08 +00:00
..
CMakeLists.txt clang-format: Add initial #include sorting capabilities. 2015-09-23 08:30:47 +00:00
FormatTest.cpp clang-format: Fixed missing space between Obj-C for/in and a typecast. 2015-10-07 15:09:08 +00:00
FormatTestJS.cpp clang-format: [JS] Support pseudo-keywords 2015-09-28 14:29:45 +00:00
FormatTestJava.cpp Remove accidental superfluous newline added in r247750. 2015-09-15 23:51:08 +00:00
FormatTestProto.cpp clang-format: [Proto] Handle enum bodies differently. 2015-07-16 14:25:43 +00:00
FormatTestSelective.cpp clang-format: NFC. Move testing of selective formatting to a separate file. 2015-06-15 15:25:11 +00:00
FormatTestUtils.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Makefile Refactor libTooling to reduce required dependencies. 2014-10-29 18:55:09 +00:00
SortIncludesTest.cpp clang-format: Extend #include sorting functionality 2015-09-29 07:53:08 +00:00