HomePhabricator

[Format] Fix 'auto x(T&&, T &&)->F' with PAS_Left.

Authored by sammccall on Fri, Jan 24, 1:12 AM.

Description

[Format] Fix 'auto x(T&&, T &&)->F' with PAS_Left.

Summary:
An heuristic targetting x && x->foo was targed overly broadly and caused the
last T&& to be treated as a binary operator.

Reviewers: hokein

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73334

Details

Committed
sammccallFri, Jan 24, 2:03 AM
Differential Revision
D73334: [Format] Fix 'auto x(T&&, T &&)->F' with PAS_Left.
Parents
rG035c106f378d: [DWARF][test] Test all the call-site realted attrs
Branches
Unknown
Tags
Unknown