[lldb][RISCV] Replace enumeration of RVV builtin types with inclusion to RISCVVTypes.def
authoreopXD <yueh.ting.chen@gmail.com>
Wed, 14 Jun 2023 14:39:31 +0000 (07:39 -0700)
committereopXD <yueh.ting.chen@gmail.com>
Thu, 15 Jun 2023 06:03:09 +0000 (23:03 -0700)
commit3f9f9e0d92736f8718082013e3ea44127bf3b077
tree2bf0956c6dbd5d7a3a30130f90dbf465fea9f56f
parent028a261350baf734db20a65b413ee07d7d4f7b1b
[lldb][RISCV] Replace enumeration of RVV builtin types with inclusion to RISCVVTypes.def

This approach prevents us from adding new lines into the switch case
when new types are introduced.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D152922
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp