- 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
- 6137dc9 Preprocessor: by Ted Kremenek · 16 years ago
- be1ee79 Added PTHManager, a utility class that will be used by Preprocessor to lazily create PTHLexer objects for pre-tokenized files. by Ted Kremenek · 16 years ago
- bec1c9d Objective-C keywords are not always identifiers. Some are also C++ keywords by Douglas Gregor · 16 years ago
- c157145 Add LangOptions marker for assembler-with-cpp mode and use to define by Daniel Dunbar · 16 years ago
- 82a500b PTHLexer now owns the Token vector. by Ted Kremenek · 16 years ago
- ddd3e8b Comment fix. by Daniel Dunbar · 16 years ago
- 28eb7e9 make the 'to match this' diagnostic a note. by Chris Lattner · 16 years ago
- 08631c5 Convert IdentifierInfo's to be printed the same as DeclarationNames by Chris Lattner · 16 years ago
- 4984212 Fix a weird inconsistency with hex floats. Previously the lexer by Chris Lattner · 16 years ago
- ac92d82 remove the NumericLiteralParser::Diag helper method, inlining it into by Chris Lattner · 16 years ago
- adc4eeb Move the Preprocessor::Diag methods inline. This has the interesting by Chris Lattner · 16 years ago
- 9efe970 inline a method into its only two call sites. by Chris Lattner · 16 years ago
- 30c6476 actually, this version isn't really needed. by Chris Lattner · 16 years ago
- 306fda7 remove a sneaky version of Diag hiding in PreprocessorLexer. by Chris Lattner · 16 years ago
- 74d15df Change the Lexer::Diag method to not magically silence warnings, by Chris Lattner · 16 years ago
- 3cbfe2c Split the DiagnosticInfo class into two disjoint classes: by Chris Lattner · 16 years ago
- d2bdeed In PTHLexer::DiscardToEndOfLine() use Lex() instead of AdvanceToken(). This handles transitions in the preprocessor state. by Ted Kremenek · 16 years ago
- b93efa3 Reenable the default lexer. by Ted Kremenek · 16 years ago
- d5a8f0b When creating the raw tokens for PTHLexer, make sure the token representing the file to include is checked for being an identifier. by Ted Kremenek · 16 years ago
- c840f0c When creating raw tokens for the PTHLexer specially handle angled strings for #include directives. by Ted Kremenek · 16 years ago
- cd4e2ae PTHLexer: by Ted Kremenek · 16 years ago
- 89d7ee9 PTHLexer: by Ted Kremenek · 16 years ago
- dd95d6c Handle another case where we should use PTHLexer as an alternative to the normal Lexer. by Ted Kremenek · 16 years ago
- 31aba42 PTHLexer: by Ted Kremenek · 16 years ago
- 81d24e1 Rename IsNonPragmaNonMacroLexer to IsFileLexer. by Ted Kremenek · 16 years ago
- d6f53dc Rewrote PTHLexer::Lex by digging through the sources of Lexer again. Now we can do basic macro expansion using the PTHLexer. by Ted Kremenek · 16 years ago
- 15ba2af Add ugly "test harness" for PTHLexer that is not enabled by default. The by Ted Kremenek · 16 years ago
- a751217 Make FIXME a hard assertion. by Ted Kremenek · 16 years ago
- 68e48e4 Preprocessor::getCurrentFileLexer() now returns a PreprocessorLexer* instead of by Ted Kremenek · 16 years ago
- 35c10c2 Just use the SourceLocation of SysHeaderTok when doing a callback to emit #line by Ted Kremenek · 16 years ago
- a275a19 Assign the result of getCurrentFileLexer() to a PreprocessorLexer* instead of Lexer* (narrower interface). by Ted Kremenek · 16 years ago
- 452e378 - Default initialize ParsingPreprocessorDirective, ParsingFilename, and by Ted Kremenek · 16 years ago
- 4d35da2 Add (untested) implementation of PTHLexer::isNextPPTokenLParen() and PTHLexer::DiscardToEndOfLine(). by Ted Kremenek · 16 years ago
- ac80c6e Use PreprocessorLexer::getFileID() instead of Lexer::getFileLoc(). This is an intermediate step to having getCurrentLexer() return a PreprocessorLexer* instead of a Lexer*. by Ted Kremenek · 16 years ago
- 1a53157 Move more cases of using 'CurLexer' to 'CurPPLexer'. by Ted Kremenek · 16 years ago
- 2f1c024 Add stub for PTHLexer::isNextPPTokenLParen(). by Ted Kremenek · 16 years ago
- 17ff58a When using a PTHLexer, use DiscardToEndOfLine() instead of ReadToEndOfLine(). by Ted Kremenek · 16 years ago
- 41938c8 - Move static function IsNonPragmaNonMacroLexer into Preprocessor.h. by Ted Kremenek · 16 years ago
- 148f061 CMake: Added some source files. by Oscar Fuentes · 16 years ago
- fad03b2 Remove Preprocessor::CacheTokens boolean data member. The same functionality can be provided by using Preprocessor::isBacktrackEnabled(). by Argyrios Kyrtzidis · 16 years ago
- 6cf3ed7 don't turn identifierinfo's into strings in diagnostics. by Chris Lattner · 16 years ago
- 2df37b8 Revert 59574 (caused tests to fail). by Ted Kremenek · 16 years ago
- 0a36264 - Move static function IsNonPragmaNonMacroLexer into Preprocessor.h. by Ted Kremenek · 16 years ago
- 4b71e3e Initialize CurPPLexer in Preprocessor's constructor. by Ted Kremenek · 16 years ago
- 204b2fe Remove the last of the old-style Preprocessor::Diag methods. by Chris Lattner · 16 years ago
- 56b05c8 remove one more Preprocessor::Diag method. by Chris Lattner · 16 years ago
- 3692b09 Convert the lexer and start converting the PP over to using canonical Diag methods. by Chris Lattner · 16 years ago
- 0a14eee This reworks some of the Diagnostic interfaces a bit to change how diagnostics by Chris Lattner · 16 years ago
- 2383b7f Change the diagnostics interface to take an array of pointers to by Chris Lattner · 16 years ago
- 4b39108 - Add Lexer::isPragma() accessor for clients of Lexer that aren't friends. by Ted Kremenek · 16 years ago
- 68a91d5 Replace more uses of 'CurLexer->' with 'CurPPLexer->'. No performance change. by Ted Kremenek · 16 years ago
- f6452c5 Add hooks to use PTHLexer::Lex instead of Lexer::Lex when CurLexer is null. by Ted Kremenek · 16 years ago
- ac6b06d Added conditional guard 'if (CurLexer)' when using SetCommentRetentionState(). by Ted Kremenek · 16 years ago
- 60e45d4 Change a bunch of uses of 'CurLexer->' to 'CurPPLexer->', which should be the by Ted Kremenek · 16 years ago
- 9c1b750 - Add 'CurPPLexer' to Preprocessor to keep track of the current by Ted Kremenek · 16 years ago
- 51881c5 Trivial tidying by Chris Lattner · 16 years ago
- caaa7df Using llvm::OwningPtr<> for CurLexer and CurTokenLexer. This makes both the ownership semantics of these objects explicit within the Preprocessor and also tightens up the code (explicit deletes not needed). by Ted Kremenek · 16 years ago
- ed04c4c Use PushIncludeMacroStack/PopMacroStack instead of manually pushing/popping from IncludeMacroStack. This is both cleaner and makes the include stack transparently extensible. by Ted Kremenek · 16 years ago
- d6a2e7d Move some diagnostic handling to PreprocessorLexer. by Ted Kremenek · 16 years ago
- 2c71d0f Add virtual dtor to PreprocessorLexer. by Ted Kremenek · 16 years ago
- 6db72c0 Remove Lexer::LexIncludeFilename. by Ted Kremenek · 16 years ago
- ab91b70 Move LexIncludeFilename from Lexer to PreprocessorLexer. by Ted Kremenek · 16 years ago
- 174da89 Use PushIncludeMacroStack() instead of manually manipulating the include stack. by Ted Kremenek · 16 years ago
- 274b208 Add skeleton for PTH lexer. by Ted Kremenek · 16 years ago
- 3604e38 Introduce annotation tokens, a special kind of token, created and used only by the parser to replace a group of tokens with a single token encoding semantic information. by Argyrios Kyrtzidis · 16 years ago
- 73608a8 Fixed build warning. No functionality change. by Sanjiv Gupta · 16 years ago
- 31fc07d Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wchar by Sanjiv Gupta · 16 years ago
- 8173dba Initialize Suffix and Prefix to 0, even with a bad entry. Removes an uninitialized value warning from gcc. by Ted Kremenek · 16 years ago
- 9d72851 Rename Characteristic_t to CharacteristicKind by Chris Lattner · 16 years ago
- d2f4e5e CMake: Builds and installs clang binary and libs (no docs yet). It by Oscar Fuentes · 16 years ago
- a179be3 Speed up NumericLiteralParser::GetIntegerValue. by Daniel Dunbar · 16 years ago
- d70cb64 Simplify overflow-on-add check in NumericLiteralParser::GetIntegerValue. by Daniel Dunbar · 16 years ago
- 9e6293d Change FormTokenWithChars to take the token kind to form, since all clients by Chris Lattner · 16 years ago
- 31f0eca When in keep whitespace mode, make sure to return block comments that are by Chris Lattner · 16 years ago
- 2d38189 Change SkipBlockComment and SkipBCPLComment to return true when in by Chris Lattner · 16 years ago
- d88dc48 Add a new mode to the lexer which enables it to return all characters, by Chris Lattner · 16 years ago
- aea3ad0 Stop the preprocessor from poking the lexer's private parts. by Chris Lattner · 16 years ago
- f744d13 Fix a couple more places that poke KeepCommentMode unnecesarily. by Chris Lattner · 16 years ago
- fa95a01 add a new inKeepCommentMode() accessor to abstract the KeepCommentMode ivar. by Chris Lattner · 16 years ago
- a2c7ad9 fix misleading comment. by Chris Lattner · 16 years ago
- 0af5742 Simplify raw mode lexing by treating an unterminate /**/ comment the by Chris Lattner · 16 years ago
- 8527b71 add a comment. by Chris Lattner · 16 years ago
- 590f0cc Change how raw lexers are handled: instead of creating them and then by Chris Lattner · 16 years ago
- 33d34a6 silence some release-assert warnings. by Chris Lattner · 16 years ago
- 7a4f004 improve a comment. by Chris Lattner · 16 years ago