Skip to content

Commit

Permalink
Add maybe_unused to dumpFile (#5863)
Browse files Browse the repository at this point in the history
Co-authored-by: Oleksandr Labetskyi <[email protected]>
  • Loading branch information
olabetskyi and lobyanich committed Jan 10, 2024
1 parent 30397f0 commit 5ef846a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/tokenize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5971,6 +5971,10 @@ void Tokenizer::dump(std::ostream &out) const
outs += " isAtomic=\"true\"";
if (tok->isAttributeExport())
outs += " isAttributeExport=\"true\"";
if (tok->isAttributeMaybeUnused())
outs += " isAttributeMaybeUnused=\"true\"";
if (tok->isAttributeUnused())
outs += " isAttributeUnused=\"true\"";
if (tok->link()) {
outs += " link=\"";
outs += id_string(tok->link());
Expand Down

0 comments on commit 5ef846a

Please sign in to comment.