aboutsummaryrefslogtreecommitdiff
path: root/Driver/CacheTokens.cpp
AgeCommit message (Expand)Author
2009-03-24Move <root>/Driver into <root>/tools/clang-cc.Daniel Dunbar
2009-03-19Store the name of the original file used to generate the PTH file in the PTHTed Kremenek
2009-02-24PTH: Cache *un-cleaned* spellings for literals instead of cleaned spellings.Ted Kremenek
2009-02-24PTH: When emitting tokens for literals with cached spellings, change the tokenTed Kremenek
2009-02-20PTH generation: Clear the cleaning bit for literals (whose spellings are cach...Ted Kremenek
2009-02-14Fix the build on win32.Cedric Venet
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-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 generation: Discard tokens that appear after and on the same line as '#en...Ted Kremenek
2009-02-10PTH generation: Don't call 'EmitToken' in the loop condition. This is prepar...Ted Kremenek
2009-02-10PTH: Replace ad hoc 'file name' -> 'PTH data' lookup table in the PTH file wi...Ted Kremenek
2009-02-10Rearrange code. No functionality change.Ted Kremenek
2009-02-10Fix potential padding error in PTH file and add stub code for emitting an on-...Ted Kremenek
2009-02-03switch SourceManager from using an std::map and std::list of Chris Lattner
2009-01-27rename getFullFilePos -> getFileOffset.Chris Lattner
2009-01-27PTH: Use Token::setLiteralData() to directly store a pointer to cached spelli...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-26This change refactors some of the low-level lexer interfaces a bit.Chris Lattner
2009-01-19PTH: Emitted tokens now consist of 12 bytes that are loaded used 3 32-bit loa...Ted Kremenek
2009-01-17add a simplified lexer ctor that sets up the lexer to raw-lex anChris Lattner
2009-01-17this massive patch introduces a simple new abstraction: it makesChris Lattner
2009-01-17no need to check this: content cache is already 1-1 map with fileentries.Chris Lattner
2009-01-17Instead of iterating over FileID's, have PTH generation iterate over theChris Lattner
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-09Simpler solution to LiteralSupport compatibility: just add one whitespace cha...Ted Kremenek
2009-01-08PTH: For the cached spellings of literals, store one whitespace character aft...Ted Kremenek
2009-01-08Remove debugging variable I forgot to remove in my last commit.Ted Kremenek
2009-01-08Cache the "spellings" of string, character, and numeric literals in the PTHTed Kremenek
2009-01-08Refactor CacheTokens to use a PTHWriter class that creates and manages most o...Ted Kremenek
2009-01-06use getBuffer() to fix compile error. Ted, please review.Chris Lattner
2008-12-23PTH: Use 3 bytes instead of 4 bytes to encode the persistent ID for a token.Ted Kremenek
2008-12-23PTH:Ted Kremenek
2008-12-23PTH:Ted Kremenek
2008-12-12Enhance PTH preprocessor-condition-block side table to track #elseinformation...Ted Kremenek
2008-12-11PTH:Ted Kremenek
2008-12-04Remove unneeded assertion. We already know that FE->getName() is an absolute...Ted Kremenek
2008-12-03PTH:Ted Kremenek
2008-12-02PTH emission:Ted Kremenek
2008-11-26- Enhance PTH generation to write out IdentifierInfo table in two parts:Ted Kremenek
2008-11-26Re-apply r60071 now that raw_fd_ostream::tell has been committed.Ted Kremenek
2008-11-26Revert 60071, depends on uncommitted LLVM changes.Daniel Dunbar
2008-11-26Migrate token-cache generation logic from dummy harness in PPLexerChange.cpp ...Ted Kremenek
2008-11-13[LLVM up] Update for raw_fd_ostream change. This fixes a FIXME thatDaniel Dunbar
2008-10-21Added the start of a prototype implementation of PCH based on token caching.Ted Kremenek