Deleted Added
full compact
CacheTokens.cpp (204643) CacheTokens.cpp (204793)
1//===--- CacheTokens.cpp - Caching of lexer tokens for PTH support --------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 170 unchanged lines hidden (view full) ---

179 std::vector<llvm::StringMapEntry<OffsetOpt>*> StrEntries;
180
181 //// Get the persistent id for the given IdentifierInfo*.
182 uint32_t ResolveID(const IdentifierInfo* II);
183
184 /// Emit a token to the PTH file.
185 void EmitToken(const Token& T);
186
1//===--- CacheTokens.cpp - Caching of lexer tokens for PTH support --------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 170 unchanged lines hidden (view full) ---

179 std::vector<llvm::StringMapEntry<OffsetOpt>*> StrEntries;
180
181 //// Get the persistent id for the given IdentifierInfo*.
182 uint32_t ResolveID(const IdentifierInfo* II);
183
184 /// Emit a token to the PTH file.
185 void EmitToken(const Token& T);
186
187 void Emit8(uint32_t V) {
188 Out << (unsigned char)(V);
189 }
187 void Emit8(uint32_t V) { ::Emit8(Out, V); }
190
191 void Emit16(uint32_t V) { ::Emit16(Out, V); }
192
193 void Emit24(uint32_t V) { ::Emit24(Out, V); }
194
195 void Emit32(uint32_t V) { ::Emit32(Out, V); }
196
197 void EmitBuf(const char *Ptr, unsigned NumBytes) {

--- 457 unchanged lines hidden ---
188
189 void Emit16(uint32_t V) { ::Emit16(Out, V); }
190
191 void Emit24(uint32_t V) { ::Emit24(Out, V); }
192
193 void Emit32(uint32_t V) { ::Emit32(Out, V); }
194
195 void EmitBuf(const char *Ptr, unsigned NumBytes) {

--- 457 unchanged lines hidden ---