Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved HTMLDiagnostics to lib/Driver. | Zhongxing Xu | 2008-08-24 | 1 | -444/+0 |
| | | | | llvm-svn: 55274 | ||||
* | More #include cleaning | Daniel Dunbar | 2008-08-11 | 1 | -2/+3 |
| | | | | | | | | - Drop Expr.h,RecordLayout.h from ASTContext.h (for DeclBase.h and SourceLocation.h) - Move ASTContext constructor into implementation llvm-svn: 54627 | ||||
* | Fix regression in range highlighting in HTML output. | Ted Kremenek | 2008-07-29 | 1 | -2/+2 |
| | | | | llvm-svn: 54181 | ||||
* | Modified HTMLDiagnostics to also perform syntax highlighting for errors in ↵ | Ted Kremenek | 2008-07-23 | 1 | -13/+57 |
| | | | | | | header files. llvm-svn: 53965 | ||||
* | In a report-XXXXX.html, make the title include the name of the file with the ↵ | Ted Kremenek | 2008-07-07 | 1 | -1/+1 |
| | | | | | | | | bug. Patch by Jean-Daniel Dupas! http://lists.cs.uiuc.edu/pipermail/cfe-dev/2008-July/002166.html llvm-svn: 53184 | ||||
* | Improve HTMLDiagnostics by understanding the "Below" hint. | Ted Kremenek | 2008-05-06 | 1 | -7/+30 |
| | | | | llvm-svn: 50783 | ||||
* | Output better paths to display in bug reports and compute a common | Ted Kremenek | 2008-05-02 | 1 | -5/+6 |
| | | | | | | prefix for all files. llvm-svn: 50592 | ||||
* | added preliminary diagnostics in scan-build results to denote whether | Ted Kremenek | 2008-04-30 | 1 | -3/+10 |
| | | | | | | a CF memory leak occurred with GC enabled, etc. llvm-svn: 50507 | ||||
* | Better handling for directory names in HTML diagnostics. Work in progress. | Ted Kremenek | 2008-04-24 | 1 | -1/+7 |
| | | | | llvm-svn: 50234 | ||||
* | PathDiagnosticClients now retain ownership of passed PathDiagnostics, requiring | Ted Kremenek | 2008-04-22 | 1 | -6/+34 |
| | | | | | | | | | | them to not be stack-allocated. HTMLDiagnostics now batches PathDiagnostics before emitting HTML in its dtor. This is a workaround for a problem when we trampled the Preprocessor state when highlighting macros (sometimes resulting in an assertion failure). llvm-svn: 50102 | ||||
* | html::EscapeText (using the Rewriter) now replaces tabs by default. | Ted Kremenek | 2008-04-20 | 1 | -6/+1 |
| | | | | llvm-svn: 49982 | ||||
* | Fixed range highlighting bug in HTML diagnostics. | Ted Kremenek | 2008-04-18 | 1 | -4/+2 |
| | | | | llvm-svn: 49893 | ||||
* | class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its ↵ | Ted Kremenek | 2008-04-17 | 1 | -9/+11 |
| | | | | | | | | | | | | | | | | | dstor. clang.cpp: InitializePreprocessor now makes a copy of the contents of PredefinesBuffer and passes it to the preprocessor object. clang.cpp: DriverPreprocessorFactory now calls "InitializePreprocessor" instead of this being done in main(). html::HighlightMacros() now takes a PreprocessorFactory, allowing it to conjure up a new Preprocessor to highlight macros. class HTMLDiagnostics now takes a PreprocessorFactory* that it can use for html::HighlightMacros(). Updated clients of HTMLDiagnostics to use this new interface. llvm-svn: 49875 | ||||
* | Temporarily disable macro expansion in the HTML output of HTMLDiagnostics to | Ted Kremenek | 2008-04-17 | 1 | -1/+1 |
| | | | | | | avoid corrupting Preprocessor state. Working on a fix. llvm-svn: 49864 | ||||
* | HAve HTMLDiagnostics use html::HighlightRange to highlight message ranges. | Ted Kremenek | 2008-04-17 | 1 | -64/+6 |
| | | | | llvm-svn: 49863 | ||||
* | Hook up HTMLDiagnostics to use Chris's new syntax highlighting. --html-diags | Ted Kremenek | 2008-04-16 | 1 | -5/+16 |
| | | | | | | | currently doesn't pass in the Preprocessor from the driver, so we don't get syntax highlighting when we create HTMLDiagnostics in that way. llvm-svn: 49796 | ||||
* | For HTML diagnostics, output more information about a bug report. | Ted Kremenek | 2008-04-15 | 1 | -5/+17 |
| | | | | llvm-svn: 49742 | ||||
* | HTMLDiagnostics now uses the new "getCanonicalID()", "isFromMainFileID()" ↵ | Ted Kremenek | 2008-04-14 | 1 | -23/+21 |
| | | | | | | | | | methods from SourceManager when doing HTML pretty-printing. This resolves an insidious bug when presenting error reports that only occurred in large source files. llvm-svn: 49683 | ||||
* | Don't expand tabs in EscapeText, but rather expand them when writing out | Ted Kremenek | 2008-04-08 | 1 | -2/+7 |
| | | | | | | | the HTML file. This should reduce the amount of memory pressure on the rewriter for files that have a lot of tabs. llvm-svn: 49406 | ||||
* | Improve range highlighting in HTMLDiagnostic to correctly highlight ranges | Ted Kremenek | 2008-04-08 | 1 | -0/+56 |
| | | | | | | that span multiple lines by inserting multiple "</span>" and "<span>" tags. llvm-svn: 49403 | ||||
* | Use logical line number for BUGLINE. | Ted Kremenek | 2008-04-03 | 1 | -7/+5 |
| | | | | llvm-svn: 49178 | ||||
* | Added guard for printing out PathDiagnostics whose last element ends with | Ted Kremenek | 2008-04-03 | 1 | -1/+5 |
| | | | | | | a piece with a SourceLocation that does not have a FileID. llvm-svn: 49151 | ||||
* | Added path sequence numbers in HTML output of PathDiagnostics. | Ted Kremenek | 2008-04-02 | 1 | -0/+3 |
| | | | | llvm-svn: 49116 | ||||
* | Embed BUGLINE, BUGFILE, BUGPATHLENGTH in the emitted HTML file. | Ted Kremenek | 2008-04-02 | 1 | -14/+32 |
| | | | | llvm-svn: 49114 | ||||
* | Put "BUGDESC" comment tag on its own line. | Ted Kremenek | 2008-04-02 | 1 | -1/+1 |
| | | | | llvm-svn: 49103 | ||||
* | Embed "DESC" tag in HTML reports. | Ted Kremenek | 2008-04-02 | 1 | -0/+10 |
| | | | | llvm-svn: 49084 | ||||
* | Embed linkable IDs in message bubbles. | Ted Kremenek | 2008-03-31 | 1 | -4/+14 |
| | | | | llvm-svn: 49005 | ||||
* | Better handling for tabs with message bubbles. | Ted Kremenek | 2008-03-31 | 1 | -1/+1 |
| | | | | llvm-svn: 49001 | ||||
* | When emitting HTML messages, take into account margin fusing due to tabs. | Ted Kremenek | 2008-03-31 | 1 | -1/+8 |
| | | | | llvm-svn: 48998 | ||||
* | For HTMLDiagnostics, when emitting the name of the directory, substitute the ↵ | Ted Kremenek | 2008-03-27 | 1 | -2/+10 |
| | | | | | | current working directory for "." llvm-svn: 48888 | ||||
* | Add html::EscapeText for std::string; use this function to escape text in ↵ | Ted Kremenek | 2008-03-27 | 1 | -3/+3 |
| | | | | | | message bubbles. llvm-svn: 48884 | ||||
* | Output directory as well as file name. | Ted Kremenek | 2008-03-27 | 1 | -1/+2 |
| | | | | llvm-svn: 48870 | ||||
* | Added <h3> tag in HTML file output that contains the name of the source file. | Ted Kremenek | 2008-03-27 | 1 | -1/+12 |
| | | | | llvm-svn: 48869 | ||||
* | Added "HTMLDiagnostic", a generic DiagnosticClient (that also implements ↵ | Ted Kremenek | 2008-03-27 | 1 | -0/+245 |
PathDiagnostic) so that all diagnostics can be piped to HTML files instead of as text diagnostics using --html-diags. llvm-svn: 48865 |