google / google/xls

Warn/error on top level symbols that are unused

Open
#217 0 comments 0 reactions 0 assignees View on GitHub
dslx enhancement
Dominant language
C++
Stars
1.9k
Forks
283
Avg merge
2d 10h
Merged PRs (30d)
135

Description

It would be helpful, in the goal of maintaining code (e.g. deleting dead code), if DSLX had a warning/error that would:

1. Internally note all symbols (e.g. constants, functions) that are public, used in a test, or indirectly referenced via one of the former (e.g. used by a public function).
1. Warn/error on all symbols that are not directly or indirectly used.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.