- 5b9a504 start plumbing together the line table information. So far we just by Chris Lattner · 15 years ago
- 478a18e add parsing and constraint enforcement for GNU line marker directives. by Chris Lattner · 15 years ago
- 099dd05 a few minor cleanups by Chris Lattner · 15 years ago
- 359cc44 parse and enforce required constraints on #line directives. Right now by Chris Lattner · 15 years ago
- 7c35122 eagerly resolve the spelling locations of macro argument preexpansions. by Chris Lattner · 15 years ago
- 9bd0d59 Eagerly resolve the spelling location of the tokens in a definition by Chris Lattner · 15 years ago
- b99bdad Only resolve a macro's instantiation loc once per macro, instead of once by Chris Lattner · 15 years ago
- de7aeef Check in the long promised SourceLocation rewrite. This lays the by Chris Lattner · 15 years ago
- 863c486 This is a follow-up to r62675: by Chris Lattner · 16 years ago
- fbc3338 Update comment. by Chris Lattner · 16 years ago
- 6f78c3b remove my gross #ifdef's, using portable abstractions now that the 32-bit by Chris Lattner · 16 years ago
- 5ff4317 remove Read8/Read24, which are dead. Rename Read16/Read32 to be more by Chris Lattner · 16 years ago
- b248d53 Fix <rdar://problem/6512717> by correctly reading the right offset in the token data in PTHLexer::getSourceLocation(). by Ted Kremenek · 16 years ago
- d0a6969 merge two checks for identifiers in the pth loop into one. by Chris Lattner · 16 years ago
- d1186fa a trivial micro optimization to save a load. by Chris Lattner · 16 years ago
- 6a170eb Add a bit to IdentifierInfo that acts as a simple predicate which by Chris Lattner · 16 years ago
- cdd8f21 Don't crash on empty PTH files. This fixes <rdar://problem/6512714>. by Ted Kremenek · 16 years ago
- 6353beb really we only need on Read24! by Chris Lattner · 16 years ago
- aff6ef8 revert my previous patch, it assumed endianness. by Chris Lattner · 16 years ago
- 2f6572b minor cleanups: now that tokens are 4-byte aligned in a PTH by Chris Lattner · 16 years ago
- ea9c26b Fix: <rdar://problem/6510344> [pth] PTH slows down regular lexer considerably (when it has substantial work) by Ted Kremenek · 16 years ago
- 7b78b7c PTH: Emitted tokens now consist of 12 bytes that are loaded used 3 32-bit loads. This reduces user time but increases system time because of the slightly larger PTH file. Although there is no performance win on Cocoa.h and -Eonly, overall this seems like a good step. by Ted Kremenek · 16 years ago
- 8c61b53 do not use SourceManager::getFileCharacteristic(FileID), it is not by Chris Lattner · 16 years ago
- 693faa6 do not use SourceManager::getFileCharacteristic(FileID), it is not by Chris Lattner · 16 years ago
- a11d617 Rename SourceManager::getCanonicalFileID -> getFileID. There is by Chris Lattner · 16 years ago
- 9ee7d45 Run destructors of MacroInfo objects to free memory they allocate. This addresses <rdar://problem/6506035>. by Ted Kremenek · 16 years ago
- 9ebac5e Make some enums in SourceLocation private, remove a useless assertion from ScratchBuffer. by Chris Lattner · 16 years ago
- bcc2a67 Make SourceLocation::getFileLoc private to reduce the API exposure of by Chris Lattner · 16 years ago
- 4d2d04e fix rdar://6505352 - Bogus warning with -WUndef, a case Anders noticed. by Chris Lattner · 16 years ago
- 77ecb3a rearrange GetIdentifierInfo so that the fast path can be partially inlined into PTHLexer::Lex. This speeds up the user time of PTH -Eonly by another 2ms (4.4%) by Chris Lattner · 16 years ago
- 898a0bb rename some variables, only set a tokens identifierinfo if non-null. by Chris Lattner · 16 years ago
- f15674c On i386 and x86-64, just do unaligned loads by Chris Lattner · 16 years ago
- 1b5285e switch PTHLexer to use Read32 and friends instead of lots of inlined by Chris Lattner · 16 years ago
- da9d61c switch PTH lexer from using "const char*"s to "const unsigned char*"s by Chris Lattner · 16 years ago
- 3b4d5e9 Rename SourceLocation::getFileID to getChunkID, because it returns by Chris Lattner · 16 years ago
- 8350394 simplify some lookups. by Chris Lattner · 16 years ago
- 42e00d1 Change the Lexer ctor used to lex _Pragma directives into a static factory by Chris Lattner · 16 years ago
- f056d92 simplify PTHManager::CreateLexer by Chris Lattner · 16 years ago
- 88d3ac1 Change the Lexer ctor used in the non _Pragma case to take a FileID instead by Chris Lattner · 16 years ago
- 28c90ad in Preprocessor::AdvanceToTokenCharacter, don't actually bother by Chris Lattner · 16 years ago
- 0770dab More simplifications to the lexer ctors. by Chris Lattner · 16 years ago
- de96c0f make the verbose raw-lexer ctor fully explicit instead of having embedded magic. by Chris Lattner · 16 years ago
- 025c3a6 add a simplified lexer ctor that sets up the lexer to raw-lex an entire file. by Chris Lattner · 16 years ago
- 22d91ca refactor some common initialization code out of the two lexer ctors. by Chris Lattner · 16 years ago
- 6b7b840 suck the call to "getSpellingLoc" that all clients do into by Chris Lattner · 16 years ago
- 2b2453a this massive patch introduces a simple new abstraction: it makes by Chris Lattner · 16 years ago
- c6fe32a Instead of iterating over FileID's, have PTH generation iterate over the by Chris Lattner · 16 years ago
- 8402c73 Fix PR2477 - clang misparses "//*" in C89 mode by Chris Lattner · 16 years ago
- 41c3ae1 As a performance optimization, don't bother calling MacroInfo::isIdenticalTo by Chris Lattner · 16 years ago
- 172e336 only notify callbacks if they exist. by Chris Lattner · 16 years ago
- a9d9145 Improve #pragma comment support by building the string argument and by Chris Lattner · 16 years ago
- bbee00b minor cleanups to StringLiteralParser: no need to pass target info by Chris Lattner · 16 years ago
- 636c5ef Implement basic support for parsing #pragma comment, a microsoft extension by Chris Lattner · 16 years ago
- f7cf85b more SourceLocation lexicon change: instead of referring to the by Chris Lattner · 16 years ago
- fff745e remove obsolete comment which happened to go over 80 cols. by Chris Lattner · 16 years ago
- 9938d07 remove an unneeded const_cast. by Chris Lattner · 16 years ago
- df7c17a Change some terminology in SourceLocation: instead of referring to by Chris Lattner · 16 years ago
- e1deaac PTH: Fix termination condition in binary search. by Ted Kremenek · 16 years ago
- 72b1b15 IdentifierInfo: by Ted Kremenek · 16 years ago
- 293b4af PTH: Embed a persistentID side-table in the PTH file that is sorted in the by Ted Kremenek · 16 years ago
- 2839660 PTH: by Ted Kremenek · 16 years ago
- 7bd88aa Fix corner cases in PTH getSpelling() binary search. by Ted Kremenek · 16 years ago
- f02f6f0 PTH: Fix remaining cases where the spelling cache in the PTH file was being missed when it shouldn't. This shaves another 7% off PTH time for -Eonly on Cocoa.h by Ted Kremenek · 16 years ago
- 5f07426 Enhance PTH 'getSpelling' caching: by Ted Kremenek · 16 years ago
- defb709 Invert assertion condition. by Ted Kremenek · 16 years ago
- 32a8ad5 PTH: Hook up getSpelling() caching in PTHLexer. This results in a nice by Ted Kremenek · 16 years ago
- b70e3da PTH: by Ted Kremenek · 16 years ago
- c19e8a2 Optimize stringification a bit to avoid std::string thrashing and by Chris Lattner · 16 years ago
- e1dccae simplify Preprocessor::getSpelling now that identifiers carry around by Chris Lattner · 16 years ago
- 86bc6cf Add parser support for __forceinline, __w64, __ptr64. by Steve Naroff · 16 years ago
- 239f073 Add parser support for __cdecl, __stdcall, and __fastcall. by Steve Naroff · 16 years ago
- f59e17e Add explicit "fuzzy" parse support for Microsoft declspec. by Steve Naroff · 16 years ago
- 6aa6ac4 Remove old PTH token-generation test harness. by Ted Kremenek · 16 years ago
- 59d08cb PTH: Remove some methods and simplify some conditions in PTHLexer::Lex(). No big functionality change. by Ted Kremenek · 16 years ago
- 18d9afb PTH: Use 3 bytes instead of 4 bytes to encode the persistent ID for a token. by Ted Kremenek · 16 years ago
- 6b1c970 Cosmetics: rename a variable and tighten spacing. No functionality change. by Ted Kremenek · 16 years ago
- 8f174e1 PTH: by Ted Kremenek · 16 years ago
- 866bdf7 PTH: by Ted Kremenek · 16 years ago
- e5680f3 PTH: by Ted Kremenek · 16 years ago
- 7e0fbb2 Don't define __STDC__ when compiling with -fms-extensions by Steve Naroff · 16 years ago
- 80d2f30 Use '&' to test StartOfLine flag. by Ted Kremenek · 16 years ago
- 74c3e6e Rewrite PTHLexer::DiscardToEndOfLine() to not use GetToken and instead only read the bytes needed to determine if a token is not at the start of the line. by Ted Kremenek · 16 years ago
- 30a12ec Change PTHLexer::getSourceLocation() to not call GetToken() and instead just read the file offset in the token data buffer directly. by Ted Kremenek · 16 years ago
- b60d799 add a dropped word back by Chris Lattner · 16 years ago
- 1c13c4f Shadow CurPtr with a local variable in ReadToken. by Ted Kremenek · 16 years ago
- 0ea7672 Preprocessor: Allocate MacroInfo objects using a BumpPtrAllocator instead using new/delete. This speeds up -Eonly on Cocoa.h using the regular lexer by 1.8% and the PTHLexer by 3%. by Ted Kremenek · 16 years ago
- 9485d23 eliminate the isCXXNamedOperator function and some string compares and by Chris Lattner · 16 years ago
- 41a2660 PTH: Added minor 'sibling jumping' optimization for iterating over the side table used for fast preprocessor block skipping. This has a minor performance improvement when preprocessing Cocoa.h, but can have some wins in pathologic cases. by Ted Kremenek · 16 years ago
- 268ee70 Added PTH optimization to not process entire blocks of tokens that appear in skipped preprocessor blocks. This improves PTH speed by 6%. The code for this optimization itself is not very optimized, and will get cleaned up. by Ted Kremenek · 16 years ago
- bc3e984 rdar://6060752 - don't warn about trigraphs in bcpl-style comments by Chris Lattner · 16 years ago
- 47a2b40 fix thought-o by Chris Lattner · 16 years ago
- fb645b6 PTH: by Ted Kremenek · 16 years ago
- cd22344 PTHLexer: Keep track of the location of the last '#' token and provide the means to jump ahead in the token stream. by Ted Kremenek · 16 years ago
- 7415326 Remove unused ivar CurTokenIdx. by Ted Kremenek · 16 years ago
- bc0f6bc PreprocessorLexer (and subclasses): by Ted Kremenek · 16 years ago
- cf58e62 Declare PerIDCache as IdentifierInfo** instead of void*. This is just cleaner. No performance change. by Ted Kremenek · 16 years ago
- 0e50b6e Remove unneeded assertion. by Ted Kremenek · 16 years ago
- 271b7af Use 'free' to release PerIDCache since it was allocated using calloc(). by Ted Kremenek · 16 years ago
- 6183e48 PTH: by Ted Kremenek · 16 years ago
- 0c6a77b - Remove PTHManager.cpp. Move all of its functions to PTHLexer.cpp since some of the internal methods are used by PTHLexer (their implementations are intertwined.) This enables some important inlining opportunities at -O3. by Ted Kremenek · 16 years ago