diff options
author | Alex Langford <alangford@apple.com> | 2023-05-10 13:18:23 -0700 |
---|---|---|
committer | Alex Langford <alangford@apple.com> | 2023-05-12 11:58:50 -0700 |
commit | 64f1fda29e2dd133c84f23474e29de02d7ed392d (patch) | |
tree | fed67f8ca47062663c67c49c00a7fed3d47e6580 /llvm/lib/Support/StringRef.cpp | |
parent | 2ee4ddae043946d74a5744fe6590759ae383bb94 (diff) | |
download | llvm-64f1fda29e2dd133c84f23474e29de02d7ed392d.zip llvm-64f1fda29e2dd133c84f23474e29de02d7ed392d.tar.gz llvm-64f1fda29e2dd133c84f23474e29de02d7ed392d.tar.bz2 |
[lldb][NFCI] Redefine dw_attr_t typedef with llvm::dwarf::Attribute
Similar to dw_form_t, dw_attr_t is typedef'd to be a uint16_t. LLVM
defines their type `llvm::dwarf::Attribute` as an enum backed by a
uint16_t. Switching to the LLVM type buys us type checking and the
requirement of explicit casts.
Differential Revision: https://reviews.llvm.org/D150299
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions