aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PTHLexer.cpp
AgeCommit message (Expand)Author
2009-04-20Move the on-disk hash table code into its own header. No functionality change.Douglas Gregor
2009-03-22PTHManager::Create():Ted Kremenek
2009-03-21Add back warning about a PTH file not containing any identifiers, but don't makeTed Kremenek
2009-03-21Allow PTH files with no identifiers.Ted Kremenek
2009-03-20PTHManager::Create() now creates a PTHManager even if the PTH file contains noTed Kremenek
2009-03-19Add PTHManager::getOriginalSourceFile(), a method that returns the name of theTed Kremenek
2009-02-23Move PTHStatCache within the anonymous namespace.Ted Kremenek
2009-02-19Fix another PTH warning that should not be a note.Ted Kremenek
2009-02-19Make PTH warnings actual warnings instead of 'notes'.Ted Kremenek
2009-02-13PTH: Cache directory and negative 'stat' calls. This gives us a 1% performan...Ted Kremenek
2009-02-13Add some boilerplate to the PTH file to prepare for the caching of stats for ...Ted Kremenek
2009-02-13Fix gcc warning: gcc correctly notes that const-qualifying the return Eli Friedman
2009-02-12Fix assertion when input is an empty string.Daniel Dunbar
2009-02-12Re-enable PTH stat caching. All tests pass now.Ted Kremenek
2009-02-12Fix bad reading of bytes in ReadUnalignedLE64() (copy-paste error).Ted Kremenek
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