[clang-format] Make BreakAfterReturnType work with K&R C functions
authorowenca <owenpiano@gmail.com>
Wed, 14 Jul 2021 06:49:48 +0000 (23:49 -0700)
committerowenca <owenpiano@gmail.com>
Wed, 14 Jul 2021 21:38:02 +0000 (14:38 -0700)
commit58494c856a15f5b0e886c7baf5d505ac6c05dfe5
treef911026553f94424a04d846ee516ad0c89ea71b3
parent3bf101f34cd466f103af00c764dc1cddb6eb14a6
[clang-format] Make BreakAfterReturnType work with K&R C functions

This fixes PR50999.

Differential Revision: https://reviews.llvm.org/D105964
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp