1. 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
  2. 9485d23 eliminate the isCXXNamedOperator function and some string compares and by Chris Lattner · 16 years ago
  3. 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
  4. 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
  5. bc3e984 rdar://6060752 - don't warn about trigraphs in bcpl-style comments by Chris Lattner · 16 years ago
  6. 47a2b40 fix thought-o by Chris Lattner · 16 years ago
  7. fb645b6 PTH: by Ted Kremenek · 16 years ago
  8. 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
  9. 7415326 Remove unused ivar CurTokenIdx. by Ted Kremenek · 16 years ago
  10. bc0f6bc PreprocessorLexer (and subclasses): by Ted Kremenek · 16 years ago
  11. cf58e62 Declare PerIDCache as IdentifierInfo** instead of void*. This is just cleaner. No performance change. by Ted Kremenek · 16 years ago
  12. 0e50b6e Remove unneeded assertion. by Ted Kremenek · 16 years ago
  13. 271b7af Use 'free' to release PerIDCache since it was allocated using calloc(). by Ted Kremenek · 16 years ago
  14. 6183e48 PTH: by Ted Kremenek · 16 years ago
  15. 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
  16. 6137dc9 Preprocessor: by Ted Kremenek · 16 years ago
  17. 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
  18. bec1c9d Objective-C keywords are not always identifiers. Some are also C++ keywords by Douglas Gregor · 16 years ago
  19. c157145 Add LangOptions marker for assembler-with-cpp mode and use to define by Daniel Dunbar · 16 years ago
  20. 82a500b PTHLexer now owns the Token vector. by Ted Kremenek · 16 years ago
  21. ddd3e8b Comment fix. by Daniel Dunbar · 16 years ago
  22. 28eb7e9 make the 'to match this' diagnostic a note. by Chris Lattner · 16 years ago
  23. 08631c5 Convert IdentifierInfo's to be printed the same as DeclarationNames by Chris Lattner · 16 years ago
  24. 4984212 Fix a weird inconsistency with hex floats. Previously the lexer by Chris Lattner · 16 years ago
  25. ac92d82 remove the NumericLiteralParser::Diag helper method, inlining it into by Chris Lattner · 16 years ago
  26. adc4eeb Move the Preprocessor::Diag methods inline. This has the interesting by Chris Lattner · 16 years ago
  27. 9efe970 inline a method into its only two call sites. by Chris Lattner · 16 years ago
  28. 30c6476 actually, this version isn't really needed. by Chris Lattner · 16 years ago
  29. 306fda7 remove a sneaky version of Diag hiding in PreprocessorLexer. by Chris Lattner · 16 years ago
  30. 74d15df Change the Lexer::Diag method to not magically silence warnings, by Chris Lattner · 16 years ago
  31. 3cbfe2c Split the DiagnosticInfo class into two disjoint classes: by Chris Lattner · 16 years ago
  32. d2bdeed In PTHLexer::DiscardToEndOfLine() use Lex() instead of AdvanceToken(). This handles transitions in the preprocessor state. by Ted Kremenek · 16 years ago
  33. b93efa3 Reenable the default lexer. by Ted Kremenek · 16 years ago
  34. 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
  35. c840f0c When creating raw tokens for the PTHLexer specially handle angled strings for #include directives. by Ted Kremenek · 16 years ago
  36. cd4e2ae PTHLexer: by Ted Kremenek · 16 years ago
  37. 89d7ee9 PTHLexer: by Ted Kremenek · 16 years ago
  38. dd95d6c Handle another case where we should use PTHLexer as an alternative to the normal Lexer. by Ted Kremenek · 16 years ago
  39. 31aba42 PTHLexer: by Ted Kremenek · 16 years ago
  40. 81d24e1 Rename IsNonPragmaNonMacroLexer to IsFileLexer. by Ted Kremenek · 16 years ago
  41. 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
  42. 15ba2af Add ugly "test harness" for PTHLexer that is not enabled by default. The by Ted Kremenek · 16 years ago
  43. a751217 Make FIXME a hard assertion. by Ted Kremenek · 16 years ago
  44. 68e48e4 Preprocessor::getCurrentFileLexer() now returns a PreprocessorLexer* instead of by Ted Kremenek · 16 years ago
  45. 35c10c2 Just use the SourceLocation of SysHeaderTok when doing a callback to emit #line by Ted Kremenek · 16 years ago
  46. a275a19 Assign the result of getCurrentFileLexer() to a PreprocessorLexer* instead of Lexer* (narrower interface). by Ted Kremenek · 16 years ago
  47. 452e378 - Default initialize ParsingPreprocessorDirective, ParsingFilename, and by Ted Kremenek · 16 years ago
  48. 4d35da2 Add (untested) implementation of PTHLexer::isNextPPTokenLParen() and PTHLexer::DiscardToEndOfLine(). by Ted Kremenek · 16 years ago
  49. 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
  50. 1a53157 Move more cases of using 'CurLexer' to 'CurPPLexer'. by Ted Kremenek · 16 years ago
  51. 2f1c024 Add stub for PTHLexer::isNextPPTokenLParen(). by Ted Kremenek · 16 years ago
  52. 17ff58a When using a PTHLexer, use DiscardToEndOfLine() instead of ReadToEndOfLine(). by Ted Kremenek · 16 years ago
  53. 41938c8 - Move static function IsNonPragmaNonMacroLexer into Preprocessor.h. by Ted Kremenek · 16 years ago
  54. 148f061 CMake: Added some source files. by Oscar Fuentes · 16 years ago
  55. fad03b2 Remove Preprocessor::CacheTokens boolean data member. The same functionality can be provided by using Preprocessor::isBacktrackEnabled(). by Argyrios Kyrtzidis · 16 years ago
  56. 6cf3ed7 don't turn identifierinfo's into strings in diagnostics. by Chris Lattner · 16 years ago
  57. 2df37b8 Revert 59574 (caused tests to fail). by Ted Kremenek · 16 years ago
  58. 0a36264 - Move static function IsNonPragmaNonMacroLexer into Preprocessor.h. by Ted Kremenek · 16 years ago
  59. 4b71e3e Initialize CurPPLexer in Preprocessor's constructor. by Ted Kremenek · 16 years ago
  60. 204b2fe Remove the last of the old-style Preprocessor::Diag methods. by Chris Lattner · 16 years ago
  61. 56b05c8 remove one more Preprocessor::Diag method. by Chris Lattner · 16 years ago
  62. 3692b09 Convert the lexer and start converting the PP over to using canonical Diag methods. by Chris Lattner · 16 years ago
  63. 0a14eee This reworks some of the Diagnostic interfaces a bit to change how diagnostics by Chris Lattner · 16 years ago
  64. 2383b7f Change the diagnostics interface to take an array of pointers to by Chris Lattner · 16 years ago
  65. 4b39108 - Add Lexer::isPragma() accessor for clients of Lexer that aren't friends. by Ted Kremenek · 16 years ago
  66. 68a91d5 Replace more uses of 'CurLexer->' with 'CurPPLexer->'. No performance change. by Ted Kremenek · 16 years ago
  67. f6452c5 Add hooks to use PTHLexer::Lex instead of Lexer::Lex when CurLexer is null. by Ted Kremenek · 16 years ago
  68. ac6b06d Added conditional guard 'if (CurLexer)' when using SetCommentRetentionState(). by Ted Kremenek · 16 years ago
  69. 60e45d4 Change a bunch of uses of 'CurLexer->' to 'CurPPLexer->', which should be the by Ted Kremenek · 16 years ago
  70. 9c1b750 - Add 'CurPPLexer' to Preprocessor to keep track of the current by Ted Kremenek · 16 years ago
  71. 51881c5 Trivial tidying by Chris Lattner · 16 years ago
  72. 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
  73. 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
  74. d6a2e7d Move some diagnostic handling to PreprocessorLexer. by Ted Kremenek · 16 years ago
  75. 2c71d0f Add virtual dtor to PreprocessorLexer. by Ted Kremenek · 16 years ago
  76. 6db72c0 Remove Lexer::LexIncludeFilename. by Ted Kremenek · 16 years ago
  77. ab91b70 Move LexIncludeFilename from Lexer to PreprocessorLexer. by Ted Kremenek · 16 years ago
  78. 174da89 Use PushIncludeMacroStack() instead of manually manipulating the include stack. by Ted Kremenek · 16 years ago
  79. 274b208 Add skeleton for PTH lexer. by Ted Kremenek · 16 years ago
  80. 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
  81. 73608a8 Fixed build warning. No functionality change. by Sanjiv Gupta · 16 years ago
  82. 31fc07d Made the mechanism of defining preprocessor defs for maxint, ptrdiff_t, wchar by Sanjiv Gupta · 16 years ago
  83. 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
  84. 9d72851 Rename Characteristic_t to CharacteristicKind by Chris Lattner · 16 years ago
  85. d2f4e5e CMake: Builds and installs clang binary and libs (no docs yet). It by Oscar Fuentes · 16 years ago
  86. a179be3 Speed up NumericLiteralParser::GetIntegerValue. by Daniel Dunbar · 16 years ago
  87. d70cb64 Simplify overflow-on-add check in NumericLiteralParser::GetIntegerValue. by Daniel Dunbar · 16 years ago
  88. 9e6293d Change FormTokenWithChars to take the token kind to form, since all clients by Chris Lattner · 16 years ago
  89. 31f0eca When in keep whitespace mode, make sure to return block comments that are by Chris Lattner · 16 years ago
  90. 2d38189 Change SkipBlockComment and SkipBCPLComment to return true when in by Chris Lattner · 16 years ago
  91. d88dc48 Add a new mode to the lexer which enables it to return all characters, by Chris Lattner · 16 years ago
  92. aea3ad0 Stop the preprocessor from poking the lexer's private parts. by Chris Lattner · 16 years ago
  93. f744d13 Fix a couple more places that poke KeepCommentMode unnecesarily. by Chris Lattner · 16 years ago
  94. fa95a01 add a new inKeepCommentMode() accessor to abstract the KeepCommentMode ivar. by Chris Lattner · 16 years ago
  95. a2c7ad9 fix misleading comment. by Chris Lattner · 16 years ago
  96. 0af5742 Simplify raw mode lexing by treating an unterminate /**/ comment the by Chris Lattner · 16 years ago
  97. 8527b71 add a comment. by Chris Lattner · 16 years ago
  98. 590f0cc Change how raw lexers are handled: instead of creating them and then by Chris Lattner · 16 years ago
  99. 33d34a6 silence some release-assert warnings. by Chris Lattner · 16 years ago
  100. 7a4f004 improve a comment. by Chris Lattner · 16 years ago