Files
clang-p2996/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
Scott Linder 4333146195 [NFC][AsmPrinter] Use std::visit in constructVariableDIEImpl
This potentially has a slightly positive performance impact, as
std::visit can be implemented as a `switch`-like jump rather than
a series of `if`s.

More importantly, the reader can be confident is no overlap between the
cases.

Differential Revision: https://reviews.llvm.org/D158678
2023-09-11 17:32:00 +00:00

69 KiB