It is simply unused, and the header for it is private, so there should be no external dependencies.
Details
- Reviewers
zturner - Group Reviewers
Restricted Project - Commits
- rGa193a4c8b380: Remove unused code related to CPlusPlusLanguage::FindEquivalentNames
rLLDB301903: Remove unused code related to CPlusPlusLanguage::FindEquivalentNames
rL301903: Remove unused code related to CPlusPlusLanguage::FindEquivalentNames
Diff Detail
- Repository
- rL LLVM
Event Timeline
This was used at some point. I'd be happier deleting if if I understood the reason why it is no longer needed.
I looked into the history of this code once and my understanding is that Enrico added this code in https://github.com/llvm-mirror/lldb/commit/bad9753828b6e0e415e38094bb9627e41d57874c but it have never been used (at least in upstream). The original commit message also indicates this.
That was four years ago! So we have code that is unused, has no tests, and is not visible via a library (since this header is not in include/lldb/*). The code is also short enough that it can be rewritten if anyone wants it. Ok to delete?
I am fully support deleting it (and pretty much any unused code). If we need it in the future then we will still have it in the svn history.
Code is still present in history, if someone needs this again in the future they can do some git archaeology to dig it up.