Details
Details
- Reviewers
sammccall - Commits
- rGd1978fa4bf0d: [clangd] Deduplicate scopes in IncludeFixer queries
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/IncludeFixer.cpp | ||
---|---|---|
316–317 | nit: sort+erase-unique is probably cheaper than constructing a set and then copying it (probably not a huge deal but we do this for each typo I think) |
Comment Actions
- sort+unique+erase instead of using a set
- Inline visitor and directly collect scopes there.
nit: sort+erase-unique is probably cheaper than constructing a set and then copying it
(probably not a huge deal but we do this for each typo I think)