Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM, just a few non-blocking NITs with questions.
clangd/SourceCode.cpp | ||
---|---|---|
180 ↗ | (On Diff #146082) | NIT: the comment about json array does not make any sense, given that we merely return a vector. |
clangd/SourceCode.h | ||
62 ↗ | (On Diff #146082) | Do we really need to expose separate functions for vector<tooling::Replacement> and tooling::Replacements, given that both are trivial: loop over the array, convert each item? |
Comment Actions
- Got rid of a helper for std::vector<Replacement>
clangd/SourceCode.h | ||
---|---|---|
62 ↗ | (On Diff #146082) | Good point. Use of std::vector<Replacement> should be discouraged anyway. I removed this function and inline the conversion for std::vector<Replacement> as this is only used in rename (which should probably be fixed to use tooling::Replacements instead). |