This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
4bdceaa4de
llvm-project
/
clang
/
test
/
VFS
/
Inputs
/
public_header.h
3 lines
68 B
C
Raw
Normal View
History
Unescape
Escape
Stopgap fix for finding module for a file mapped in the VFS If we lookup a path using its 'real' path first, we need to ensure that when we run header search we still use the VFS-mapped path or we will not be able to find the corresponding module for the header. The real problem is that we tie the name of a file to its underlying FileEntry, which is uniqued by inode, so we only ever get the first name it is looked up by. This doesn't work with modules, which rely on a specific file system structure. I'm hoping to have time to write up a proposal for fixing this more permanently soon, but as a stopgap this patch updates the name of the file's directory if it comes from a VFS mapping. llvm-svn: 209534
2014-05-24 02:15:47 +08:00
#
import <SomeFramework
/
public_header2.h>
Add a driver option -ivfsoverlay Reads the description of a virtual filesystem from a file and overlays it over the real file system. llvm-svn: 202176
2014-02-26 02:23:47 +08:00
void
from_framework
(
void
)
;