summaryrefslogtreecommitdiffstats
path: root/clang/Lex/MacroExpander.cpp
Commit message (Expand)AuthorAgeFilesLines
* Fix a really subtle bug in the macro expander caching code, whereChris Lattner2007-07-221-1/+6
* At one point there were going to be lexer and parser tokens.Chris Lattner2007-07-201-40/+40
* simplify the lexer ctor to take a SLoc instead of a sloc and a redundant buff...Chris Lattner2007-07-201-6/+1
* Reimplement SourceLocation. Instead of having a Chris Lattner2007-07-201-1/+2
* Fix a stringizing bug that Neil noticed. We should preprocess this:Chris Lattner2007-07-191-1/+1
* remove obsolete comment.Chris Lattner2007-07-151-3/+0
* Change SourceManager::getInstantiationLoc to take virtual locations, doing itsChris Lattner2007-07-151-2/+2
* Cache macro expander objects to avoid thrashing malloc in heavy expansion sit...Chris Lattner2007-07-151-14/+27
* expose an iterator interface to getReplacementTokens instead of the datastruc...Chris Lattner2007-07-141-3/+3
* Finally bite the bullet and make the major change: split the clang namespaceChris Lattner2007-06-151-3/+2
* implement FIXME: replace use of alloca with use of SmallVector.Chris Lattner2006-11-031-11/+13
* Export the ASTBuilder class from the AST module.Chris Lattner2006-11-031-0/+1
* Rename LexerToken methods to be more consistent.Chris Lattner2006-10-141-19/+19
* Initial support for semantic analysis and AST building for StringExpr nodes.Chris Lattner2006-10-061-2/+3
* Simplify implementation of varargs macros by adding the __VA_ARGS__ tokenChris Lattner2006-07-301-24/+11
* Fix precedence bugChris Lattner2006-07-291-1/+1
* Implement support for #__VA_ARGS__Chris Lattner2006-07-291-1/+7
* Fix a crash on Preprocessor/macro_paste_none.cChris Lattner2006-07-291-1/+2
* Implement the GNU comma swallowing extension. This implementsChris Lattner2006-07-291-4/+13
* Improve placemarker handling, implementing Preprocessor/macro_fn_placemarker.cChris Lattner2006-07-291-2/+30
* Implement support for __VA_ARGS__, allowing test/Preprocessor/macro_fn_vararg...Chris Lattner2006-07-291-3/+11
* Use a continue to avoid indentation of a bunch of codeChris Lattner2006-07-281-72/+72
* Implement pasting of arguments that expand to no tokens. This handles theChris Lattner2006-07-281-3/+17
* Switch ExpandFunctionArguments to use a smallvector instead of a vector,Chris Lattner2006-07-271-4/+4
* Change Preprocessor::ReadFunctionLikeMacroArgs to use a SmallVector to lexChris Lattner2006-07-261-3/+3
* Change MacroArgs to allocate space for the unexpanded tokens immediately afterChris Lattner2006-07-261-9/+36
* Add a new getArgLength method and refactor some code to use itChris Lattner2006-07-261-13/+23
* Implement a FIXME: don't copy token array into a token vector, instead, macro...Chris Lattner2006-07-261-29/+28
* speed up a brutal macro-expansion torture test by about 30% (1.5 -> 1.0s)Chris Lattner2006-07-211-55/+60
* fix obvious bug that caused Preprocessor/macro_paste_bad.c to fail.Chris Lattner2006-07-201-1/+1
* Add optimization for identifier##identifier -> identifier, the most common ca...Chris Lattner2006-07-201-2/+11
* Simplify identifier lookup in raw mode, implementing Preprocessor/macro_fn_lp...Chris Lattner2006-07-201-0/+9
* Avoid testing / ## * in the lexer. This will cause an unhelpful error messageChris Lattner2006-07-191-30/+35
* Fix test/Preprocessor/macro_paste_spacing.cChris Lattner2006-07-191-1/+5
* Implement basic token pasting (## operator). This implementsChris Lattner2006-07-191-0/+99
* Handle really simple expansion of ## formals. Do not handle the empty caseChris Lattner2006-07-191-5/+14
* Make end-of-file handling much less recursive. This reduces the worst caseChris Lattner2006-07-181-5/+8
* Implement support for lexing from a pre-constructed token stream.Chris Lattner2006-07-161-19/+91
* Implement basic argument substitution. This implementsChris Lattner2006-07-151-0/+67
* Clarify assertionChris Lattner2006-07-151-2/+2
* More changes from formals -> actuals.Chris Lattner2006-07-151-7/+5
* Rename macroformalargs -> MacroArgs, as it represents the actual arguments,Chris Lattner2006-07-151-15/+37
* The leading space flag of a stringized string matches that of the # operator.Chris Lattner2006-07-151-4/+4
* Implement the microsoft charize extension #@Chris Lattner2006-07-151-4/+33
* Add a comment giving an example of the errorChris Lattner2006-07-151-0/+1
* Implement stringification.Chris Lattner2006-07-151-4/+43
* Set up infrastructure for function-like macro expansion with preexpansionChris Lattner2006-07-141-7/+89
* Implement "lparen scanning" for lexer buffers, by making "skipping lexing"Chris Lattner2006-07-111-12/+7
* Implement scanning-for-( more correctly. This implementsChris Lattner2006-07-111-0/+16
* Read, remember, and validate the arguments provided the a function-styleChris Lattner2006-07-091-2/+23
OpenPOWER on IntegriCloud