[clang-format] fix regression in middle pointer alignment
authormydeveloperday <mydeveloperday@gmail.com>
Sat, 16 Nov 2019 14:36:40 +0000 (14:36 +0000)
committerpaulhoad <mydeveloperday@gmail.com>
Sat, 16 Nov 2019 14:37:47 +0000 (14:37 +0000)
commit5987cc1bb5d5eb624135e76a6b3ade1aef94caf7
treeed1f4774d29c288f635de290b4f7a30d65f1c6d2
parent9b40a7f3bf7198dd64403cbd83478087e72f994b
[clang-format] fix regression in middle pointer alignment

Summary:
a75f8d98d7ac introduced a regression with Middle pointer alignment,
which this patch fixes.

Reviewers: MyDeveloperDay, klimek, sammccall

Reviewed By: MyDeveloperDay, sammccall

Subscribers: cfe-commits, merge_guards_bot

Patch by: Typz

Tags: #clang

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