aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PTHLexer.cpp
AgeCommit message (Expand)Author
2009-02-12Temporarily disable PTH stat caching as it appears to be failing on some mach...Ted Kremenek
2009-02-12PTH: Cache stat information for files in the PTH file. Hook up FileManagerTed Kremenek
2009-02-11PTH: Have meta data be at the beginning of the PTH file, not the end.Ted Kremenek
2009-02-11PTH: Replace string identifier to persistent ID lookup with a hashtable. This isTed Kremenek
2009-02-11PTH: Don't emit the PTH offset of the IdentifierInfo string data as that data isTed Kremenek
2009-02-10PTH: Replace ad hoc 'file name' -> 'PTH data' lookup table in the PTH file wi...Ted Kremenek
2009-01-28Add more PTH diagnostics for invalid PTH files, etc.Ted Kremenek
2009-01-28Enhance PTHManager::Create() to take an optional Diagnostic* argument that ca...Ted Kremenek
2009-01-27PTH: Use Token::setLiteralData() to directly store a pointer to cached spelli...Ted Kremenek
2009-01-26Silence warning.Ted Kremenek
2009-01-26Add version number checking to PTH files.Ted Kremenek
2009-01-26Embed the offset of the PTH table inside the prologue of the PTH file. This ...Ted Kremenek
2009-01-26Check in the long promised SourceLocation rewrite. This lays theChris Lattner
2009-01-23This is a follow-up to r62675:Chris Lattner
2009-01-23Update comment.Chris Lattner
2009-01-22remove my gross #ifdef's, using portable abstractions now that the 32-bitChris Lattner
2009-01-22remove Read8/Read24, which are dead. Rename Read16/Read32 to be moreChris Lattner
2009-01-21Fix <rdar://problem/6512717> by correctly reading the right offset in the tok...Ted Kremenek
2009-01-21merge two checks for identifiers in the pth loop into one.Chris Lattner
2009-01-21Add a bit to IdentifierInfo that acts as a simple predicate whichChris Lattner
2009-01-21Don't crash on empty PTH files. This fixes <rdar://problem/6512714>.Ted Kremenek
2009-01-21really we only need on Read24!Chris Lattner
2009-01-21revert my previous patch, it assumed endianness.Chris Lattner
2009-01-21minor cleanups: now that tokens are 4-byte aligned in a PTH Chris Lattner
2009-01-20Fix: <rdar://problem/6510344> [pth] PTH slows down regular lexer considerably...Ted Kremenek
2009-01-19PTH: Emitted tokens now consist of 12 bytes that are loaded used 3 32-bit loa...Ted Kremenek
2009-01-18rearrange GetIdentifierInfo so that the fast path can be partially inlined in...Chris Lattner
2009-01-18rename some variables, only set a tokens identifierinfo if non-null.Chris Lattner
2009-01-18On i386 and x86-64, just do unaligned loads Chris Lattner
2009-01-18switch PTHLexer to use Read32 and friends instead of lots of inlinedChris Lattner
2009-01-18switch PTH lexer from using "const char*"s to "const unsigned char*"s Chris Lattner
2009-01-17simplify PTHManager::CreateLexerChris Lattner
2009-01-17suck the call to "getSpellingLoc" that all clients do intoChris Lattner
2009-01-17this massive patch introduces a simple new abstraction: it makesChris Lattner
2009-01-16Change some terminology in SourceLocation: instead of referring to Chris Lattner
2009-01-15PTH: Fix termination condition in binary search.Ted Kremenek
2009-01-15IdentifierInfo:Ted Kremenek
2009-01-15PTH: Embed a persistentID side-table in the PTH file that is sorted in theTed Kremenek
2009-01-13PTH:Ted Kremenek
2009-01-13Fix corner cases in PTH getSpelling() binary search.Ted Kremenek
2009-01-13PTH: Fix remaining cases where the spelling cache in the PTH file was being m...Ted Kremenek
2009-01-09Enhance PTH 'getSpelling' caching:Ted Kremenek
2009-01-09Invert assertion condition.Ted Kremenek
2009-01-08PTH: Hook up getSpelling() caching in PTHLexer. This results in a niceTed Kremenek
2009-01-08PTH:Ted Kremenek
2008-12-23PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No...Ted Kremenek
2008-12-23PTH: Use 3 bytes instead of 4 bytes to encode the persistent ID for a token.Ted Kremenek
2008-12-23Cosmetics: rename a variable and tighten spacing. No functionality change.Ted Kremenek
2008-12-23PTH:Ted Kremenek
2008-12-23PTH:Ted Kremenek