diff options
author | Craig Topper <craig.topper@sifive.com> | 2023-02-28 11:16:45 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2023-02-28 11:16:45 -0800 |
commit | 8ce68969b90288a3dc75c5c15283fc11f97b278a (patch) | |
tree | 115090e8ab36bc3cd19ab0a753601960e7eee1e3 /lldb/source/Commands/CommandObjectWatchpointCommand.cpp | |
parent | 33e18cb6ce7a478d3c381c1c7ef2501787fed6f4 (diff) | |
download | llvm-8ce68969b90288a3dc75c5c15283fc11f97b278a.zip llvm-8ce68969b90288a3dc75c5c15283fc11f97b278a.tar.gz llvm-8ce68969b90288a3dc75c5c15283fc11f97b278a.tar.bz2 |
[Sema] Add missing entries to the arrays in GetImplicitConversionName and GetConversionRank.
It appears that ICK_Zero_Queue_Conversion was inserted into the ICK
enum without updating this table. Easy to do since the table size
was set to ICK_Num_Conversion_Kinds.
I've used ICR_Exact_Match to match what was previously done for
ICK_Zero_Event_Conversion that last time someone noticed this had happened.
To prevent this from happening again, I've removed the explicit size
and used a static_assert to check the size against ICK_Num_Conversion_Kinds.
Differential Revision: https://reviews.llvm.org/D144990
Diffstat (limited to 'lldb/source/Commands/CommandObjectWatchpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions