diff options
author | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2024-01-08 17:04:07 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-08 17:04:07 -0300 |
commit | e72c71671e044aa30ca35bed9e20da771ae216b5 (patch) | |
tree | be2964544ed89276fdd64b617e597ce6c49aa0c2 /llvm/unittests/Support/CommandLineTest.cpp | |
parent | eea627e3e3c423149cd2cd46cb6309b8d303e8bd (diff) | |
download | llvm-e72c71671e044aa30ca35bed9e20da771ae216b5.zip llvm-e72c71671e044aa30ca35bed9e20da771ae216b5.tar.gz llvm-e72c71671e044aa30ca35bed9e20da771ae216b5.tar.bz2 |
[AccelTable][nfc] Add helper function to cast AccelTableData (#77100)
Specializations of AccelTableBase are always interested in accessing the
derived versions of their data classes (e.g. DWARF5AccelTableData). They
do so by sprinkling `static_casts` all over the code.
This commit adds a helper function to simplify this process, reducinng
the number of casts that have to be made in the middle of code, making
it easier to read.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions