aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/PrintPreprocessedOutput.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-01-28Fix the indentation of the first line of preprocessor outputHal Finkel1-1/+5
2013-01-14Constify argument of Preprocessor::getMacroInfoHistory and propagate toDmitri Gribenko1-1/+1
2013-01-09Make sure clang puts tokens from different files on separate lines in "-E -P"...Eli Friedman1-1/+4
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth1-2/+2
2012-11-16CPP Output: Do not emit an enter file marker for the main file.Daniel Dunbar1-0/+11
2012-08-29Keep history of macro definitions and #undefsAlexander Kornienko1-2/+6
2012-08-10Add missing cctype includes.Joerg Sonnenberger1-0/+1
2012-06-15[-E] Emit a rewritten _Pragma on its own line.Jordan Rose1-29/+36
2012-03-11Unify naming of LangOptions variable/get function across the Clang stack (Lex...David Blaikie1-1/+1
2012-02-07Revert my patches which removed Diagnostic.h includes by moving some operator...Benjamin Kramer1-3/+3
2012-02-05Basic: import SmallString<> into clang namespaceDylan Noblesmith1-2/+2
2012-02-04Remove Diagnostic.h include from Preprocessor.h.Benjamin Kramer1-3/+3
2012-01-17Remove unnecessary default cases in switches over enums.David Blaikie1-1/+0
2011-12-22remove unneeded config.h includesDylan Noblesmith1-1/+0
2011-10-11For the FileChanged Preprocessor callback, when exiting a file, pass its FileID.Argyrios Kyrtzidis1-2/+4
2011-09-17Rename LangOptions::Microsoft to LangOptions::MicrosoftExt to make it clear t...Francois Pichet1-1/+1
2011-07-25Rename getInstantiationColumnNumber to getExpansionColumnNumber in bothChandler Carruth1-1/+1
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-17/+17
2011-07-14Update the remaining comments in Frontend to 'expansion'.Chandler Carruth1-2/+2
2011-06-22Copy diagnostic pragmas to the preprocessed output, from Richard Osborne!Douglas Gregor1-0/+44
2011-02-28Rename tok::eom to tok::eod.Peter Collingbourne1-1/+1
2011-02-02Frontend: Factor out header include dumping (-H) into its own preprocessorDaniel Dunbar1-36/+4
2010-11-19Several PPCallbacks take an SourceLocation + IdentifierInfo, ratherCraig Silverstein1-10/+7
2010-11-12Make sure to always check the result ofDouglas Gregor1-6/+20
2010-11-10make sure #pragma clang is treated the same way as #pragma gcc in -E mode,Chris Lattner1-2/+3
2010-09-17Handle '#line' in '-E' that has an empty file name. Fixes <rdar://problem/84...Ted Kremenek1-2/+2
2010-09-10Make sure we're producing a newline in the preprocessed output beforeDouglas Gregor1-2/+1
2010-09-09When we parse a pragma, keep track of how that pragma was originallyDouglas Gregor1-4/+20
2010-09-08Frontend/-H: Add comment on why I used a temporary string here.Daniel Dunbar1-0/+1
2010-08-24Frontend: Add basic -H support.Daniel Dunbar1-7/+39
2010-08-07Push location through the MacroUndefined PPCallback and use it to print #unde...Benjamin Kramer1-0/+13
2010-07-13Modify the pragma handlers to accept and use StringRefs instead of Identifier...Argyrios Kyrtzidis1-3/+3
2010-06-26Implement support for #pragma message, patch by Michael Spencer!Chris Lattner1-1/+25
2010-06-15fix the various buildbot failures by ensuring that tokens are really complete...Chris Lattner1-4/+3
2010-06-15fix an uninitialized variable, patch by Michael Spencer!Chris Lattner1-0/+2
2010-06-12fix PR7360: -P mode turns off line markers, but not blank space.Chris Lattner1-15/+10
2010-06-11Preprocessor: Ignore unknown pragmas in -E -dM and -Eonly modes.Daniel Dunbar1-0/+3
2010-04-20push some source location information down through the compiler,Chris Lattner1-4/+2
2010-04-16Remove this hard-coded buffer size. In some basic experiments preprocessingDan Gohman1-2/+0
2010-04-14Improve line marker directive locations, patch by Jordy RoseChris Lattner1-1/+1
2010-04-14make the token paste avoidance logic turn "..." into ".. ." instead of ". . ."Chris Lattner1-3/+6
2010-04-13cache the PP's SourceManager.Chris Lattner1-5/+6
2010-04-13make the preprocessor listen to linemarker directives in -E mode,Chris Lattner1-10/+14
2010-03-17Entering the main source file in the preprocessor can fail if theDouglas Gregor1-2/+4
2010-03-13Use SmallString instead of SmallVectorKovarththanan Rajaratnam1-1/+1
2010-03-07Rename to addPPCallbacks since we're effectively adding a callback and maybe ...Kovarththanan Rajaratnam1-4/+4
2010-02-27Revert 97324. Chris says this cleanup could hurt -E performance.Benjamin Kramer1-8/+24
2010-02-27Simplify code.Benjamin Kramer1-24/+8
2010-02-27Add an overload of Preprocessor::getSpelling which takes a SmallVector andBenjamin Kramer1-6/+1
2010-01-19Avoid an instantiation of std::sort.Benjamin Kramer1-14/+10