diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-01-30 13:08:33 +0100 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2025-02-02 18:29:18 +0000 |
commit | e42c64242b8f25dcf30aee35ee059bdd8873561f (patch) | |
tree | f24843bc36408350e892494c5e2fa0d5cd0a7fca /gcc/rust/ast/rust-ast-builder.cc | |
parent | 9d6bd59e86946aeea41551f8ab227f3954235029 (diff) | |
download | gcc-e42c64242b8f25dcf30aee35ee059bdd8873561f.zip gcc-e42c64242b8f25dcf30aee35ee059bdd8873561f.tar.gz gcc-e42c64242b8f25dcf30aee35ee059bdd8873561f.tar.bz2 |
scan-deadcode: Do not warn unused fields if they start with '_'
gcc/rust/ChangeLog:
* checks/lints/rust-lint-scan-deadcode.h: Check if the field name starts with an
underscore before warning.
Diffstat (limited to 'gcc/rust/ast/rust-ast-builder.cc')
0 files changed, 0 insertions, 0 deletions