[clang][sema][Matrix] Move code from try-cast to `TypeLocVisitor`. NFC intended.
authorVolodymyr Sapsai <vsapsai@apple.com>
Tue, 10 Jan 2023 20:24:07 +0000 (12:24 -0800)
committerVolodymyr Sapsai <vsapsai@apple.com>
Tue, 17 Jan 2023 21:33:36 +0000 (15:33 -0600)
commit574a77ae85451adc5e2dd9e73652c62bf18eed8d
tree5e57cb98a93a91d91948e7b19303e8b0d83b7b50
parentab59185fbfb15c9ce5a64e3aacd3a8c7f6a97621
[clang][sema][Matrix] Move code from try-cast to `TypeLocVisitor`. NFC intended.

`MatrixTypeLoc` is not "sugar" `TypeLoc` and doesn't require to use the
underlying `TypeLoc` instead.

Differential Revision: https://reviews.llvm.org/D141422
clang/lib/Sema/SemaType.cpp