Tweaks like DefineOutline depend on FS to be set at apply() time.
After https://reviews.llvm.org/D93978, tweaks run from Check tool lost
access to FS. This makes the available to apply() once again.
Details
Details
- Reviewers
kadircet - Commits
- rG0e7c7d461df1: [clangd] Set FileSystem for tweaks in Check tool.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
thanks, lgtm!
clang-tools-extra/clangd/tool/Check.cpp | ||
---|---|---|
215–221 | IIUC, the ordering here is to ensure FS is not available during prepare but exists in apply. That sounds sane, as we would like prepare to be fast, and IO is likely slow. |
IIUC, the ordering here is to ensure FS is not available during prepare but exists in apply. That sounds sane, as we would like prepare to be fast, and IO is likely slow.
But this is very subtle, so deserves a comment.