hanchenye-llvm-project/clang/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
..
ASTConsumers.cpp Do not crash with -serialize. 2008-08-10 19:20:05 +00:00
ASTConsumers.h Refactored driver logic for CodeGen into LLVMCodeGenWriter. This ASTConsumer layers on top of LLVMCodeGen (another existing ASTConsumer) to emit bitcode files to disk. This layering takes this logic out of clang.cpp and puts it directly into the ASTConsumer interface. The benefit is that now --emit-llvm works with both serialized ASTs and regular source files. 2008-08-05 18:50:11 +00:00
Analyses.def Add prototype implementation of unused ivar check. 2008-07-23 00:45:26 +00:00
AnalysisConsumer.cpp Fix regression when invoking the MissingDealloc analysis: disable this check when in -fobjc-gc-only mode. 2008-08-04 17:14:10 +00:00
AnalysisConsumer.h Provide an "Analysis Scope" for Analyses so checks can either be run on code declarations (bodies) or Objective-C @implementation blocks. 2008-07-15 00:46:02 +00:00
DiagChecker.cpp * Remove isInSystemHeader() from DiagClient, move it to SourceManager 2008-08-10 19:59:06 +00:00
HTMLDiagnostics.cpp Fix regression in range highlighting in HTML output. 2008-07-29 23:35:38 +00:00
HTMLDiagnostics.h class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its dstor. 2008-04-17 22:31:54 +00:00
HTMLPrint.cpp In a report-XXXXX.html, make the title include the name of the file with the bug. Patch by Jean-Daniel Dupas! 2008-07-07 18:31:05 +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
PrintParserCallbacks.cpp rename PreDefinedExpr -> PredefinedExpr 2008-08-10 01:53:14 +00:00
PrintPreprocessedOutput.cpp Fix rdar://5843510 don't assert and die when an invalid output 2008-04-11 06:14:11 +00:00
RewriteMacros.cpp comment out #pragma mark and #warning directives. 2008-07-25 16:37:06 +00:00
RewriteObjC.cpp rename PreDefinedExpr -> PredefinedExpr 2008-08-10 01:53:14 +00:00
SerializationTest.cpp Unbreak SerializationTest and the Rewriter by doing the work in HandleTranslationUnit instead of the destructor. 2008-08-08 04:15:52 +00:00
clang.cpp * Remove isInSystemHeader() from DiagClient, move it to SourceManager 2008-08-10 19:59:06 +00:00
clang.h Allow -parse-noop -verify options to be used together. 2008-06-13 12:15:34 +00:00