summaryrefslogtreecommitdiffstats
path: root/clang/Driver/DependencyFile.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move <root>/Driver into <root>/tools/clang-cc.Daniel Dunbar2009-03-241-272/+0
| | | | | | Again, I tried to update cmake but it is untested. llvm-svn: 67605
* fix test/Preprocessor/macro_paste_mscomment.c.Chris Lattner2009-03-201-1/+1
| | | | llvm-svn: 67403
* fix a crash I introduced, thanks to Ted for the awesome reducedChris Lattner2009-01-281-2/+5
| | | | | | testcase :) llvm-svn: 63182
* Introduce a new PresumedLoc class to represent the concept of a locationChris Lattner2009-01-271-2/+9
| | | | | | | | | | | | | | | | | | | as reported to the user and as manipulated by #line. This is what __FILE__, __INCLUDE_LEVEL__, diagnostics and other things should follow (but not dependency generation!). This patch also includes several cleanups along the way: - SourceLocation now has a dump method, and several other places that did similar things now use it. - I cleaned up some code in AnalysisConsumer, but it should probably be simplified further now that NamedDecl is better. - TextDiagnosticPrinter is now simplified and cleaned up a bit. This patch is a prerequisite for #line, but does not actually provide any #line functionality. llvm-svn: 63098
* this patch "adds support for specifying multiple dependancy targets using ↵Chris Lattner2009-01-111-26/+43
| | | | | | | | ‘-MT’. Using this patch, I was able to use ‘ccc’ as C compiler for the few C files in LLVM. In my brief testing, the output remains identical to that of GCC." Patch by Dan Villiom Podlaski Christiansen! llvm-svn: 62040
* Improve dependency file support.Daniel Dunbar2008-10-271-17/+42
| | | | | | | | | | | | - Add support for -MP (phony targets). - Use raw_ostream for output instead of std::string concatenation. - Break long lines in a GCC (4.2) compatible manner. - Output dependents in #included order (to match GCC). llvm-svn: 58265
* Rename Characteristic_t to CharacteristicKindChris Lattner2008-10-271-4/+4
| | | | llvm-svn: 58224
* Add initial dependency file generation support. Patch by KovarththananDaniel Dunbar2008-10-241-0/+220
Rajaratnam, with some updates and formatting changes. llvm-svn: 58122
OpenPOWER on IntegriCloud