r278586 - Fix build broken after llvm/ADT/DenseMap.h replacement of climits with limits.
Eugene Zelenko via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 12 18:05:36 PDT 2016
Author: eugenezelenko
Date: Fri Aug 12 20:05:35 2016
New Revision: 278586
URL: http://llvm.org/viewvc/llvm-project?rev=278586&view=rev
Log:
Fix build broken after llvm/ADT/DenseMap.h replacement of climits with limits.
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=278586&r1=278585&r2=278586&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/FileManager.cpp (original)
+++ cfe/trunk/lib/Basic/FileManager.cpp Fri Aug 12 20:05:35 2016
@@ -26,7 +26,13 @@
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
+#include <algorithm>
+#include <cassert>
+#include <climits>
+#include <cstdint>
+#include <cstdlib>
#include <string>
+#include <utility>
using namespace clang;
@@ -494,7 +500,6 @@ void FileManager::invalidateCache(const
UniqueRealFiles.erase(Entry->getUniqueID());
}
-
void FileManager::GetUniqueIDMapping(
SmallVectorImpl<const FileEntry *> &UIDToFiles) const {
UIDToFiles.clear();
More information about the cfe-commits
mailing list