[PATCH] D92160: [clang] Fix wrong FDs are used for files with same name in Tooling
Duncan P. N. Exon Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Dec 9 12:09:41 PST 2020
dexonsmith added a comment.
In D92160#2443405 <https://reviews.llvm.org/D92160#2443405>, @dexonsmith wrote:
> - Don't specifically track relative paths / absolute paths.
> - Add an API, something like: `dropRelativePaths()`, which drops all `{File,Directory}Entry{,Ref}` that are somehow based on relative paths.
I realize this may not be clear; what I'm suggesting is that `dropRelativePaths()` would visit all entries, check if they're relative, and drop them if so.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92160/new/
https://reviews.llvm.org/D92160
More information about the cfe-commits
mailing list