[clang-format] Handle return type auto followed by l_paren
authorowenca <owenpiano@gmail.com>
Wed, 17 Aug 2022 04:03:52 +0000 (21:03 -0700)
committerowenca <owenpiano@gmail.com>
Wed, 17 Aug 2022 23:06:34 +0000 (16:06 -0700)
commit777b6ad168a07d1116fc0488f959b494d06f7f29
treecae6ac0d820e55d148a4f0d3220c433345e4360b
parentb786e01f9340cc009a90e02033a9c84144740017
[clang-format] Handle return type auto followed by l_paren

Fixes #57160.

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