Properly determine the end location of an ObjCObjectPointerType.
authorRichard Smith <richard@metafoo.co.uk>
Fri, 29 Oct 2021 20:12:51 +0000 (13:12 -0700)
committerRichard Smith <richard@metafoo.co.uk>
Fri, 29 Oct 2021 20:15:53 +0000 (13:15 -0700)
commit68ffcd521347e3c8b97ca233239d503beff239f4
tree3f6bcf964a3797609d1d9ff422f5f167cd90f2b6
parent0412c007e3c2ec2687856923b3ac6e581ff4fbd8
Properly determine the end location of an ObjCObjectPointerType.

After rGa9db0a804a53, we correctly determined the end for pointer types
like `id` that are spelled without a `*`, but incorrectly determined the
end for pointer types spelled with a `*`.
clang/lib/AST/TypeLoc.cpp
clang/test/AST/ast-dump-decl.mm