Skip to content
Commit d038bb19 authored by Ben Langmuir's avatar Ben Langmuir
Browse files

[clang] Fix redirection behaviour for cached FileEntryRef

In 6a79e2ff we changed Filemanager::getEntryRef() to return the
redirecting FileEntryRef instead of looking through the redirection.
This commit fixes the case when looking up a cached file path to also
return the redirecting FileEntryRef. This mainly affects the behaviour
of calling getNameAsRequested() on the resulting entry ref.

Differential Revision: https://reviews.llvm.org/D131273
parent 3e0e5568
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment