DO NOT COMMIT! This untested patch deletes dead code under
clang/lib/StaticAnalyzer, including debug functions. Please
intelligently choose what to actually remove.
Details
Details
- Reviewers
NoQ
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks!
What was your method to discover the unused code? Did you use an automated tool?
| clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp | ||
|---|---|---|
| 66 | We shall not delete any dump or LLVM_DUMP_METHOD annotated function because they can be really useful in actual debugging, either in gdb or with other tools. | |
| clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp | ||
| 30–33 | As the comment says, we need this to demonstrate and document what can be the possible callbacks. | |
We shall not delete any dump or LLVM_DUMP_METHOD annotated function because they can be really useful in actual debugging, either in gdb or with other tools.