[PATCH] D23902: Minor cleanup of PTHWriter
Alexander Shaposhnikov via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 13 13:26:36 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL281385: Remove excessive padding from PTHWriter (authored by alexshap).
Changed prior to commit:
https://reviews.llvm.org/D23902?vs=69311&id=71229#toc
Repository:
rL LLVM
https://reviews.llvm.org/D23902
Files:
cfe/trunk/lib/Frontend/CacheTokens.cpp
Index: cfe/trunk/lib/Frontend/CacheTokens.cpp
===================================================================
--- cfe/trunk/lib/Frontend/CacheTokens.cpp
+++ cfe/trunk/lib/Frontend/CacheTokens.cpp
@@ -182,14 +182,14 @@
typedef llvm::DenseMap<const IdentifierInfo*,uint32_t> IDMap;
typedef llvm::StringMap<OffsetOpt, llvm::BumpPtrAllocator> CachedStrsTy;
- IDMap IM;
raw_pwrite_stream &Out;
Preprocessor& PP;
- uint32_t idcount;
+ IDMap IM;
+ std::vector<llvm::StringMapEntry<OffsetOpt>*> StrEntries;
PTHMap PM;
CachedStrsTy CachedStrs;
+ uint32_t idcount;
Offset CurStrOffset;
- std::vector<llvm::StringMapEntry<OffsetOpt>*> StrEntries;
//// Get the persistent id for the given IdentifierInfo*.
uint32_t ResolveID(const IdentifierInfo* II);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23902.71229.patch
Type: text/x-patch
Size: 781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160913/78959ebe/attachment.bin>
More information about the cfe-commits
mailing list