llvm-project/clang/lib/Driver
Nico Weber 4c3116437c * Remove isInSystemHeader() from DiagClient, move it to SourceManager
* Move FormatError() from TextDiagnostic up to DiagClient, remove now  
  empty class TextDiagnostic
* Make DiagClient optional for Diagnostic

This fixes the following problems:

* -html-diags (and probably others) does now output the same set of  
  warnings as console clang does
* nothing crashes if one forgets to call setHeaderSearch() on  
  TextDiagnostic
* some code duplication is removed

llvm-svn: 54620
2008-08-10 19:59:06 +00:00
..
Makefile add a libDriver, for now only move the text diangostics stuff from Driver to there 2008-08-05 23:33:20 +00:00
TextDiagnosticBuffer.cpp add a libDriver, for now only move the text diangostics stuff from Driver to there 2008-08-05 23:33:20 +00:00
TextDiagnosticPrinter.cpp * Remove isInSystemHeader() from DiagClient, move it to SourceManager 2008-08-10 19:59:06 +00:00