Incoming define out-of-line code action needs to access files that
weren't touched during compilation of the translation unit. This patch passes FS
into Tweak::Selection to make files accessible.
Details
Details
- Reviewers
ilya-biryukov
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This can be obtained from the file manager inside the AST.
I guess a helper function to do this would be helpful, but I don't think we need to strore another copy of it.
WDYT?
Comment Actions
As discussed offline, dropping the change to fetch the FS from filemanager, to prevent any consistency that might be caused due to having different contents for files in AST while creating it vs while generating refactorings.