summaryrefslogtreecommitdiffstats
path: root/clang/Lex/Preprocessor.cpp
Commit message (Expand)AuthorAgeFilesLines
...
* Initial support for semantic analysis and AST building for StringExpr nodes.Chris Lattner2006-10-061-2/+2
* Fix precedence problemChris Lattner2006-08-041-3/+3
* Simplify implementation of varargs macros by adding the __VA_ARGS__ tokenChris Lattner2006-07-301-18/+4
* The optimized case has to treat __VA_ARGS__ as an argument. This fixesChris Lattner2006-07-291-0/+5
* Implement support for #__VA_ARGS__Chris Lattner2006-07-291-1/+2
* Implement comment saving mode: the -C and -CC options.Chris Lattner2006-07-291-0/+18
* Implement the GNU comma swallowing extension. This implementsChris Lattner2006-07-291-1/+8
* Fix a bug in previous commitChris Lattner2006-07-291-1/+1
* No need for explicit underscore anymore.Chris Lattner2006-07-291-1/+1
* Poison and unpoison __VA_ARGS__ when appropriateChris Lattner2006-07-291-2/+15
* If the varargs token is missing, add an empty argument to represent it. ThisChris Lattner2006-07-291-10/+9
* Implement C99 6.10.3.4p2, testcase here: Preprocessor/macro_disable3.c.Chris Lattner2006-07-271-3/+18
* Change Preprocessor::ReadFunctionLikeMacroArgs to use a SmallVector to lexChris Lattner2006-07-261-3/+5
* Change MacroArgs to allocate space for the unexpanded tokens immediately afterChris Lattner2006-07-261-2/+2
* Implement a FIXME: don't copy token array into a token vector, instead, macro...Chris Lattner2006-07-261-2/+2
* speed up a brutal macro-expansion torture test by about 30% (1.5 -> 1.0s)Chris Lattner2006-07-211-14/+25
* Add optimization for identifier##identifier -> identifier, the most common ca...Chris Lattner2006-07-201-1/+4
* Simplify "raw lexing mode" even further. Now the preprocessor is only calledChris Lattner2006-07-201-6/+1
* Simplify identifier lookup in raw mode, implementing Preprocessor/macro_fn_lp...Chris Lattner2006-07-201-6/+3
* Move LexingRawMode handling of file EOF out of the preprocessor into theChris Lattner2006-07-191-13/+0
* 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-11/+31
* More changes from formals -> actuals.Chris Lattner2006-07-151-9/+9
* Rename macroformalargs -> MacroArgs, as it represents the actual arguments,Chris Lattner2006-07-151-19/+19
* Eliminate the IdentifierInfo::IsMacroArg flag.Chris Lattner2006-07-151-11/+3
* Change Lexer::Stringify to not add ""'s around the string.Chris Lattner2006-07-151-1/+1
* Add an API so that external clients can create strings in the scratch buffer.Chris Lattner2006-07-141-9/+21
* Move Preprocessor::isNextPPTokenLParen to Lexer::isNextPPTokenLParen, whereChris Lattner2006-07-111-33/+2
* Change Preprocessor::SkippingContents into Lexer::LexingRawMode. Raw modeChris Lattner2006-07-111-19/+12
* Fix a regression on Preprocessor/hash_space.cChris Lattner2006-07-111-2/+2
* Implement "lparen scanning" for lexer buffers, by making "skipping lexing"Chris Lattner2006-07-111-41/+71
* ext-warn on empty macro arguments if in pre-c99 modeChris Lattner2006-07-111-2/+9
* Implement scanning-for-( more correctly. This implementsChris Lattner2006-07-111-11/+53
* Only do an expensive walk over the entire identifier table if the diagnosticChris Lattner2006-07-101-2/+5
* Trivially expand macros like:Chris Lattner2006-07-091-4/+7
* Make trivial expansion detection more aggressive. Trivially expand macrosChris Lattner2006-07-091-9/+30
* Read, remember, and validate the arguments provided the a function-styleChris Lattner2006-07-091-38/+185
* Diagnose C99 6.10.3.2p1Chris Lattner2006-07-081-7/+28
* Add identifiers for macro arguments to MacroInfo, check for duplicates,Chris Lattner2006-07-081-9/+28
* Start reading/validating the argument list for a function-like macro.Chris Lattner2006-07-081-4/+103
* Implement checking for macro equality, C99 6.10.3.2Chris Lattner2006-07-081-2/+2
* add infrastructure for warning if redef'd macro bodies differ, but don'tChris Lattner2006-07-081-7/+14
* Warn about __VA_ARGS__ when used outside of a macro expansionChris Lattner2006-07-061-2/+10
* Diagnose erroneous macro definitions where a ## operator is at the start/end ...Chris Lattner2006-07-061-2/+22
* Add a fast-path in getSpelling for identifiers.Chris Lattner2006-07-041-2/+8
* Change the Preprocessor::getSpelling interface to let it be zero-copy inChris Lattner2006-07-041-9/+12
* Rename IdentifierTokenInfo -> IdentifierInfo.Chris Lattner2006-07-041-31/+31
* Eliminate MultipleIncludeOpt::ReadDirective and all calls to it. Any directivesChris Lattner2006-07-041-21/+14
* Implement the multiple-include file optimization.Chris Lattner2006-07-041-3/+16
* Implement the automaton for recognizing files with controlling macros.Chris Lattner2006-07-041-12/+70
OpenPOWER on IntegriCloud