Storing this on the heap doesn't make any sense. Just an extra allocation(and for Rename, indirection) thats not needed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D91341
[clangd][NFC] Don't store symbolmap on the heap Needs ReviewPublic Authored by njames93 on Nov 12 2020, 5:52 AM.
Details
Summary Storing this on the heap doesn't make any sense. Just an extra allocation(and for Rename, indirection) thats not needed.
Diff Detail
Revision Contents
Diff 304803 clang-tools-extra/clangd/index/CanonicalIncludes.cpp
clang-tools-extra/clangd/refactor/Rename.cpp
|