[cfe-commits] r98817 - /cfe/trunk/lib/Frontend/CacheTokens.cpp
Kovarththanan Rajaratnam
kovarththanan.rajaratnam at gmail.com
Thu Mar 18 00:45:31 PDT 2010
Author: krj
Date: Thu Mar 18 02:45:30 2010
New Revision: 98817
URL: http://llvm.org/viewvc/llvm-project?rev=98817&view=rev
Log:
Make some typedefs private
Modified:
cfe/trunk/lib/Frontend/CacheTokens.cpp
Modified: cfe/trunk/lib/Frontend/CacheTokens.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CacheTokens.cpp?rev=98817&r1=98816&r2=98817&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CacheTokens.cpp (original)
+++ cfe/trunk/lib/Frontend/CacheTokens.cpp Thu Mar 18 02:45:30 2010
@@ -164,11 +164,12 @@
} // end anonymous namespace
typedef OnDiskChainedHashTableGenerator<FileEntryPTHEntryInfo> PTHMap;
-typedef llvm::DenseMap<const IdentifierInfo*,uint32_t> IDMap;
-typedef llvm::StringMap<OffsetOpt, llvm::BumpPtrAllocator> CachedStrsTy;
namespace {
class PTHWriter {
+ typedef llvm::DenseMap<const IdentifierInfo*,uint32_t> IDMap;
+ typedef llvm::StringMap<OffsetOpt, llvm::BumpPtrAllocator> CachedStrsTy;
+
IDMap IM;
llvm::raw_fd_ostream& Out;
Preprocessor& PP;
More information about the cfe-commits
mailing list