For #64088: mark vtable as used if we might emit a reference to it.
authorRichard Smith <richard@metafoo.co.uk>
Tue, 25 Jul 2023 21:41:10 +0000 (14:41 -0700)
committerTobias Hieta <tobias@hieta.se>
Thu, 27 Jul 2023 13:50:46 +0000 (15:50 +0200)
commit313de9dbf6d07602a51718de128a9eadd3762d57
tree2c1dbbd41d490bbc6a6ca48f98fe31830f4d3a26
parent02ccc2a8fff1f63afbdfa81274549122d5e7d574
For #64088: mark vtable as used if we might emit a reference to it.

(cherry picked from commit b6847edfc235829b37dd6d734ef5bbfa0a58b6fc)
clang/lib/Sema/SemaCast.cpp
clang/test/CodeGenCXX/dynamic-cast-exact.cpp