================ @@ -2315,6 +2315,10 @@ bool UnwrappedLineParser::tryToParseLambdaIntroducer() { if (Next->is(tok::greater)) return false; } + if (const auto Kind = FormatTok->Tok.getKind(); + tok::isLiteral(Kind) && !tok::isStringLiteral(Kind)) { ---------------- HazardyKnusperkeks wrote:
Why ignore the string literal? `["Foo"` is also no lambda. https://github.com/llvm/llvm-project/pull/77045 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits