berenm added a comment.

Yes you are right,

I believe it's happening for comma-separated declaration list. I think the 
algorithm tries to keep it clear that the pointer / reference marks are for 
each declared identifier and not part of the common type.

I think that splitting the declarations for the Left and Middle test cases 
would be better so it actually verifies that the pointer marks are aligned as 
expected. Also, maybe add a bunch of references and rvalue refs to the test 
cases so that the tests are exhaustive.

Thanks!


https://reviews.llvm.org/D27651



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

Reply via email to