It allows to get rid of CppFile::getLastCommand and simplify the
code in the upcoming threading patch.
Details
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 14241 Build 14241: arc lint + arc unit
Event Timeline
Thanks for this cleanup!
The way we deal with ResourceDir still doesn't feel ideal, but that's no worse here and everything else is better!
clangd/ClangdServer.cpp | ||
---|---|---|
199 | nit: the comment and whitespace seems unneccesary, this is exactly what invalidate() is documented to do. | |
272–273 | nit: remove blank line? | |
clangd/ClangdServer.h | ||
340 | nit: can we hide this in the cpp file or move to GCD.h to reduce clutter? | |
340 | Can the comment give some motivation here? It's clear enough from the name what it does, but why? | |
341 | sorry for naive question - this doesn't need to be threadsafe, because clangdserver itself isn't, right? |
nit: can we hide this in the cpp file or move to GCD.h to reduce clutter?