LeftOfParens->MatchingParen->is(TT_LambdaLSquare))
return false;
if (Tok.Next) {
+ if (Tok.Next->is(tok::question))
+ return false;
if (Style.Language == FormatStyle::LK_JavaScript &&
Tok.Next->is(Keywords.kw_in))
return false;
verifyFormat("private Foo<X, Y>[] foos;");
verifyFormat("Foo<X, Y>[] foos = this.foos;");
+ verifyFormat("return (a instanceof List<?>)\n"
+ " ? aaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaa)\n"
+ " : aaaaaaaaaaaaaaaaaaaaaaa;",
+ getStyleWithColumns(60));
verifyFormat(
"SomeLoooooooooooooooooooooongType name =\n"