This is worth another 10% or so on InedxBenchmark.DexBuild.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM with a couple of nits.
Thank you for the patch, this is a good idea!
clang-tools-extra/clangd/index/Ref.cpp | ||
---|---|---|
11 | This defines BumpPtrAllocator, right? I think it should be included in clang-tools-extra/clangd/index/Ref.h, not here if the intent is to explicitly include used headers. Same for StringSaver.h, this source file does not use any additional variables of these types. | |
clang-tools-extra/clangd/index/Ref.h | ||
141 | nit: I know you like the short names, but with R I had to get back to Entry definition each time I saw it (I was thinking "wait, R? is there an L somewhere here?". Maybe it's just me, but one-letter fields seem scary. Maybe Reference? |
nit: I know you like the short names, but with R I had to get back to Entry definition each time I saw it (I was thinking "wait, R? is there an L somewhere here?". Maybe it's just me, but one-letter fields seem scary. Maybe Reference?