[cfe-commits] r159262 - /cfe/trunk/lib/Basic/FileManager.cpp
Axel Naumann
Axel.Naumann at cern.ch
Wed Jun 27 04:42:56 PDT 2012
Author: axel
Date: Wed Jun 27 06:42:56 2012
New Revision: 159262
URL: http://llvm.org/viewvc/llvm-project?rev=159262&view=rev
Log:
Fix for r159256 on Windows.
Modified:
cfe/trunk/lib/Basic/FileManager.cpp
Modified: cfe/trunk/lib/Basic/FileManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/FileManager.cpp?rev=159262&r1=159261&r2=159262&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/FileManager.cpp (original)
+++ cfe/trunk/lib/Basic/FileManager.cpp Wed Jun 27 06:42:56 2012
@@ -568,7 +568,11 @@
return;
SeenFileEntries.erase(Entry->getName());
+#ifdef LLVM_ON_WIN32
+ UniqueRealFiles.UniqueFiles.erase(Entry->getName());
+#else
UniqueRealFiles.UniqueFiles.erase(*Entry);
+#endif
}
More information about the cfe-commits
mailing list