Remember to decay arrays to pointers before checking whether the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 9 May 2019 22:22:48 +0000 (22:22 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 9 May 2019 22:22:48 +0000 (22:22 +0000)
commite2a670386967259ce269ca963a1b90c44a63a05a
tree79d5a3643d80af42d1a80d9706a7180a380b3499
parent7742fbb68c1c5658c0f18143fc29ebcf3b46a0bb
Remember to decay arrays to pointers before checking whether the
left-hand side of an -> operator is a pointer to class type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360387 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/Parser/cxx-class.cpp