[PATCH] D21113: Add support for case-insensitive header lookup
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 9 11:53:37 PDT 2016
hans updated this revision to Diff 60220.
hans added a comment.
Adding the version that caches directory contents.
This has the problem the it doesn't play with modules, the rewriter, and possibly others, because they write to the file system without any way for the vfs to find out. I've tried to find a good way to fix that, but didn't come up with anything. One way would be to maintain a global counter like llvm::sys::fileSystemChangeCount which when changed would invalidate the maps, but I don't know if that would be acceptable.
http://reviews.llvm.org/D21113
Files:
include/clang/Basic/VirtualFileSystem.h
include/clang/Driver/Options.td
include/clang/Lex/HeaderSearchOptions.h
lib/Basic/VirtualFileSystem.cpp
lib/Driver/Tools.cpp
lib/Frontend/CompilerInvocation.cpp
test/Driver/cl-options.c
test/Frontend/Inputs/case-insensitive-paths.h
test/Frontend/case-insensitive-paths.c
unittests/Basic/VirtualFileSystemTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21113.60220.patch
Type: text/x-patch
Size: 12157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160609/d60a741d/attachment.bin>
More information about the cfe-commits
mailing list