aboutsummaryrefslogtreecommitdiff
path: root/Driver/PrintPreprocessedOutput.cpp
AgeCommit message (Expand)Author
2009-03-24Move <root>/Driver into <root>/tools/clang-cc.Daniel Dunbar
2009-03-20fix test/Preprocessor/macro_paste_mscomment.c.Chris Lattner
2009-02-13factor token concatenation avoidance logic out of Chris Lattner
2009-02-10make -dM emit macros in a deterministic (sorted) order instead of Chris Lattner
2009-02-10use efficient form of getSpelling, this speeds up -dM by 16%.Chris Lattner
2009-02-06Add an implementation of -dM that follows GCC closely enough to permitChris Lattner
2009-02-06factor some code out into a helper function.Chris Lattner
2009-02-04lower the interface to getLineNumber like we did forChris Lattner
2009-01-30avoid emitting a bogus line marker for the top level #includeChris Lattner
2009-01-27Introduce a new PresumedLoc class to represent the concept of a locationChris Lattner
2009-01-26minor speedups/cleanups for -E mode.Chris Lattner
2009-01-26This change refactors some of the low-level lexer interfaces a bit.Chris Lattner
2009-01-16Make sure to escape " when it occurs in a string in pragma commentChris Lattner
2009-01-16Make -E mode propagate #pragma comment's into the output.Chris Lattner
2009-01-16more SourceLocation lexicon change: instead of referring to theChris Lattner
2009-01-16Change some terminology in SourceLocation: instead of referring to Chris Lattner
2009-01-11make paste avoidance avoid pasting digraphs and :: only when digraphs or c++ ...Chris Lattner
2008-11-13[LLVM up] Update for raw_fd_ostream change. This fixes a FIXME thatDaniel Dunbar
2008-10-27Rename Characteristic_t to CharacteristicKindChris Lattner
2008-09-26clean up a bunch of fixme's I added, by moving Chris Lattner
2008-09-26fit in 80 cols.Chris Lattner
2008-09-26Make clang preprocessed output a bit more like gcc output.Daniel Dunbar
2008-09-05Workaround gcc bug causing crash on our preprocessed outputs.Daniel Dunbar
2008-08-19Use raw_ostream to output an unsigned.Chris Lattner
2008-08-17printing with an unspecified dest means to print to stdout.Chris Lattner
2008-08-17don't delete a variable on the stackChris Lattner
2008-08-17simplify this code a bit more.Chris Lattner
2008-08-17remove global variables for output stream.Chris Lattner
2008-08-17Switch to shared raw_ostream code instead of having it be clang specific.Chris Lattner
2008-04-11Fix rdar://5843510 don't assert and die when an invalid outputChris Lattner
2008-04-08Fix rdar://5846705: "clang -E foo.c -o foo.i" should remove foo.i on error.Chris Lattner
2008-01-27Make -o work with -E, patch contributed by Shantonu Sen!Chris Lattner
2008-01-15avoid pasting L + "foo" into L"foo".Chris Lattner
2008-01-15avoid token pasting between identifiers and wide strings: Chris Lattner
2007-12-29Don't attribute in file headers anymore. See llvmdev for theChris Lattner
2007-12-19Interned MainFileID within SourceManager. Since SourceManager is referenced byTed Kremenek
2007-12-15simplify the interfaces to ProcessInputFile and InitializePreprocessorChris Lattner
2007-12-09The flags on tokens indicate whether they are the start of a *physical* line, Chris Lattner
2007-12-09Fix a pretty big but subtle bug counting the number of newlines to emit.Chris Lattner
2007-10-10fix a bunch of regressions I introduced :(Chris Lattner
2007-10-10clang -E should not print tokens from the predefines buffer.Chris Lattner
2007-10-09Make a significant change to invert the control flow handlingChris Lattner
2007-10-09convert driver over to use Token::is/isNot APIs. fwew, all done.Chris Lattner
2007-09-03Add #ifdefs to make the source portable to windows. Patch contributedChris Lattner
2007-07-24avoid std::string yet again.Chris Lattner
2007-07-24Use a smallstring instead of an std::string in FileChanged to avoid some mall...Chris Lattner
2007-07-23Fix two paste-avoidance bugs I introduced last night. PatchChris Lattner
2007-07-23avoid creating std::strings in MoveToLineChris Lattner
2007-07-23In OutputString, avoid calling memcpy for really tiny strings. Chris Lattner
2007-07-23Avoid calling getSpelling at all for identifiers, which areChris Lattner