galenelias added a comment.

In D150403#4539874 <https://reviews.llvm.org/D150403#4539874>, @owenpan wrote:

> This seems to cause a regression. See 
> https://github.com/llvm/llvm-project/issues/64134. @galenelias any idea?

I will take a look.  The logic I added is trying to distinguish `{ } {` by 
looking at the token prior to the first l_brace, and checking if it's an 
identifier to quantify this as a braced list brace.  In this case, it's 
actually a `>`, so the code decides it's a scope brace instead.

I could easily patch it to also allow for a `>`, but don't want this to devolve 
into a long trail of hacks either.  Let me think about it a bit more, and I'll 
come up with a forward fix.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150403/new/

https://reviews.llvm.org/D150403

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to