llvm-project/clang/test/VFS
Volodymyr Sapsai 7c5c3b1e0e [VFS] Implement `RedirectingFileSystem::getRealPath`.
It fixes the case when Objective-C framework is added as a subframework
through a symlink. When parent framework infers a module map and fails
to detect a symlink, it would add a subframework as a submodule. And
when we parse module map for the subframework, we would encounter an
error like

> error: umbrella for module 'WithSubframework.Foo' already covers this directory

By implementing `getRealPath` "an egregious but useful hack" in
`ModuleMap::inferFrameworkModule` works as expected.

LLVM commit is r347009.

rdar://problem/45821279

Reviewers: bruno, benlangmuir, erik.pilkington

Reviewed By: bruno

Subscribers: hiraditya, dexonsmith, JDevlieghere, cfe-commits, llvm-commits

Differential Revision: https://reviews.llvm.org/D54245

llvm-svn: 347012
2018-11-16 01:18:04 +00:00
..
Inputs [VFS] Add property 'fallthrough' that controls fallback to real file system. 2018-10-26 22:16:24 +00:00
external-names.c
framework-import.m
implicit-include.c
include-mixed-real-and-virtual.c
include-real-from-virtual.c
include-virtual-from-real.c
include.c
incomplete-umbrella.m
module-import.m
module_missing_vfs.m [vfs] Don't bail out after a missing -ivfsoverlay file 2018-03-23 17:37:27 +00:00
parse-errors.c
real-path-found-first.m
relative-path.c
subframework-symlink.m [VFS] Implement `RedirectingFileSystem::getRealPath`. 2018-11-16 01:18:04 +00:00
test_nonmodular.c
umbrella-framework-import-skipnonexist.m [CMake] Use normalized Windows target triples 2018-08-09 02:16:18 +00:00
umbrella-mismatch.m [Modules][ObjC] Warn on the use of '@import' in framework headers 2018-06-27 20:29:36 +00:00
vfsroot-include.c [VFS] Add property 'fallthrough' that controls fallback to real file system. 2018-10-26 22:16:24 +00:00
vfsroot-module.m [VFS] Add property 'fallthrough' that controls fallback to real file system. 2018-10-26 22:16:24 +00:00
vfsroot-with-overlay.c [VFS] Add property 'fallthrough' that controls fallback to real file system. 2018-10-26 22:16:24 +00:00