forked from OSchip/llvm-project
Fix auto -> auto * clang tidy.
This commit is contained in:
parent
67b950be6d
commit
020022e12e
|
@ -297,7 +297,7 @@ void SymtabSection::writeTo(uint8_t *buf) const {
|
|||
nList->n_strx = entry.strx;
|
||||
// TODO support other symbol types
|
||||
// TODO populate n_desc
|
||||
if (auto defined = dyn_cast<Defined>(entry.sym)) {
|
||||
if (auto *defined = dyn_cast<Defined>(entry.sym)) {
|
||||
nList->n_type = N_EXT | N_SECT;
|
||||
nList->n_sect = defined->isec->parent->index;
|
||||
// For the N_SECT symbol type, n_value is the address of the symbol
|
||||
|
|
Loading…
Reference in New Issue