Previously we maintained two separate switch statements that had to be kept in
sync. This patch merges them into a single switch.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM. Run clang-format before submitting this because some lines that use the ternary operator have width larger than 80-cols.