Fix printing of reference-to-reference types.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 29 Apr 2018 05:33:38 +0000 (05:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 29 Apr 2018 05:33:38 +0000 (05:33 +0000)
commitd186829093e8c9b2d96cb5b10c81a6e78519e33b
tree17b39126d6febc27dd0fc3bd5552990a9dd5df47
parent4ae767ba3d4a501511708298a95d0c660a3ea212
Fix printing of reference-to-reference types.

Previously we would sometimes print these as 'T &&&' or even 'T &&&&'.

llvm-svn: 331137
clang/lib/AST/TypePrinter.cpp
clang/test/SemaCXX/references.cpp