aaron.ballman added a comment.

I don't think this is a natural fit for the functionality. A statement 
expression doesn't have a return value so much as it is a value expression that 
can contain multiple statements. To me, at least, this is a bit like saying the 
comma operator has a return value because you can do `int i; i = 1, 2, 3;` and 
it "returns" 3.

Can you explain a bit about why you need this matcher functionality?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76196



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

Reply via email to