HomePhabricator

[clang-format] Fix lambdas returning template specialization that contains…

Authored by jkorous on Mar 5 2019, 11:27 AM.

Description

[clang-format] Fix lambdas returning template specialization that contains operator in parameter

A template specialization of a template foo<int N> can contain integer constants and a whole bunch of operators - e. g. foo< 1 ? !0 : (3+1)%4 >

Inspired by https://reviews.llvm.org/D58922

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

llvm-svn: 355434