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
  • [PATCH] D21113: A... Francisco Lopes da Silva via Phabricator via cfe-commits
    • [PATCH] D211... Peter Collingbourne via Phabricator via cfe-commits
    • [PATCH] D211... Hans Wennborg via Phabricator via cfe-commits

Reply via email to