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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits