Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Nice! The code looks much simpler!
Just some drive-by nits. I don't know the threading work well enough to give useful comments. Will leave the approval to others.
| clangd/ClangdUnit.cpp | ||
|---|---|---|
| 399 ↗ | (On Diff #133382) | Do we still need this block? |
| 434 ↗ | (On Diff #133382) | nit: no braces |
| clangd/ClangdUnit.h | ||
| 161 ↗ | (On Diff #133382) | s/latest/last/? |
Comment Actions
Thanks for the NITs :-)
| clangd/ClangdUnit.cpp | ||
|---|---|---|
| 399 ↗ | (On Diff #133382) | I added it to avoid referencing local variables declared there. I would move this to be a separate function rather than removing the braces here, but other may have different opinions :-) |
| clangd/ClangdUnit.cpp | ||
|---|---|---|
| 399 ↗ | (On Diff #133382) | I don't think it's necessary though? But up to you :) |