aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/PrintPreprocessedOutput.cpp
AgeCommit message (Expand)Author
2012-08-29Keep history of macro definitions and #undefsAlexander Kornienko
2012-08-10Add missing cctype includes.Joerg Sonnenberger
2012-06-15[-E] Emit a rewritten _Pragma on its own line.Jordan Rose
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack (Lex...David Blaikie
2012-02-07Revert my patches which removed Diagnostic.h includes by moving some operator...Benjamin Kramer
2012-02-05Basic: import SmallString<> into clang namespaceDylan Noblesmith
2012-02-04Remove Diagnostic.h include from Preprocessor.h.Benjamin Kramer
2012-01-17Remove unnecessary default cases in switches over enums.David Blaikie
2011-12-22remove unneeded config.h includesDylan Noblesmith
2011-10-11For the FileChanged Preprocessor callback, when exiting a file, pass its FileID.Argyrios Kyrtzidis
2011-09-17Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear t...Francois Pichet
2011-07-25Rename getInstantiationColumnNumber to getExpansionColumnNumber in bothChandler Carruth
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner
2011-07-14Update the remaining comments in Frontend to 'expansion'.Chandler Carruth
2011-06-22Copy diagnostic pragmas to the preprocessed output, from Richard Osborne!Douglas Gregor
2011-02-28Rename tok::eom to tok::eod.Peter Collingbourne
2011-02-02Frontend: Factor out header include dumping (-H) into its own preprocessorDaniel Dunbar
2010-11-19Several PPCallbacks take an SourceLocation + IdentifierInfo, ratherCraig Silverstein
2010-11-12Make sure to always check the result ofDouglas Gregor
2010-11-10make sure #pragma clang is treated the same way as #pragma gcc in -E mode,Chris Lattner
2010-09-17Handle '#line' in '-E' that has an empty file name. Fixes <rdar://problem/84...Ted Kremenek
2010-09-10Make sure we're producing a newline in the preprocessed output beforeDouglas Gregor
2010-09-09When we parse a pragma, keep track of how that pragma was originallyDouglas Gregor
2010-09-08Frontend/-H: Add comment on why I used a temporary string here.Daniel Dunbar
2010-08-24Frontend: Add basic -H support.Daniel Dunbar
2010-08-07Push location through the MacroUndefined PPCallback and use it to print #unde...Benjamin Kramer
2010-07-13Modify the pragma handlers to accept and use StringRefs instead of Identifier...Argyrios Kyrtzidis
2010-06-26Implement support for #pragma message, patch by Michael Spencer!Chris Lattner
2010-06-15fix the various buildbot failures by ensuring that tokens are really complete...Chris Lattner
2010-06-15fix an uninitialized variable, patch by Michael Spencer!Chris Lattner
2010-06-12fix PR7360: -P mode turns off line markers, but not blank space.Chris Lattner
2010-06-11Preprocessor: Ignore unknown pragmas in -E -dM and -Eonly modes.Daniel Dunbar
2010-04-20push some source location information down through the compiler,Chris Lattner
2010-04-16Remove this hard-coded buffer size. In some basic experiments preprocessingDan Gohman
2010-04-14Improve line marker directive locations, patch by Jordy RoseChris Lattner
2010-04-14make the token paste avoidance logic turn "..." into ".. ." instead of ". . ."Chris Lattner
2010-04-13cache the PP's SourceManager.Chris Lattner
2010-04-13make the preprocessor listen to linemarker directives in -E mode,Chris Lattner
2010-03-17Entering the main source file in the preprocessor can fail if theDouglas Gregor
2010-03-13Use SmallString instead of SmallVectorKovarththanan Rajaratnam
2010-03-07Rename to addPPCallbacks since we're effectively adding a callback and maybe ...Kovarththanan Rajaratnam
2010-02-27Revert 97324. Chris says this cleanup could hurt -E performance.Benjamin Kramer
2010-02-27Simplify code.Benjamin Kramer
2010-02-27Add an overload of Preprocessor::getSpelling which takes a SmallVector andBenjamin Kramer
2010-01-19Avoid an instantiation of std::sort.Benjamin Kramer
2009-12-09Neil points out that this could be simplified, do it.Chris Lattner
2009-12-07fix -dM with variadic macros, PR5699Chris Lattner
2009-12-07some code cleanup.Chris Lattner
2009-12-06Integrate the following from the 'objective-rewrite' branch:Steve Naroff
2009-11-11Add PreprocessorOutputOptions to CompilerInvocation, and move initialization toDaniel Dunbar