[PATCH] D21113: Add support for case-insensitive header lookup
Peter Collingbourne via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 19 19:24:00 PST 2016
pcc added inline comments.
================
Comment at: lib/Basic/VirtualFileSystem.cpp:483
+CaseInsensitiveFileSystem::openFileForRead(const Twine &Path) {
+ SmallVector<char, 512> NewPath;
+ if (std::error_code EC = findCaseInsensitivePath(Path.str(), NewPath))
----------------
I wonder whether it would help with performance to try the original path here first, then do the case insensitive stuff only if that failed.
https://reviews.llvm.org/D21113
More information about the cfe-commits
mailing list