[PATCH] D127663: [clang][lex] NFCI: Use DirectoryEntryRef in HeaderSearch::LookupFile

Ben Barham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 13 11:22:52 PDT 2022


bnbarham added a comment.

Failing test seems to be because `.` is turned into the full path at some point. It's possible that this is because `getFileRef` returns the absolute path (see the massive FIXME there). If that's the case we could fix that by fixing `clang-apply-replacements` and then change the `Status.getName() == Filename` to only check whether it's an externally mapped path.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127663/new/

https://reviews.llvm.org/D127663



More information about the cfe-commits mailing list