summaryrefslogtreecommitdiffstats
path: root/clang/Driver/HTMLDiagnostics.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Moved HTMLDiagnostics to lib/Driver.Zhongxing Xu2008-08-241-444/+0
| | | | llvm-svn: 55274
* More #include cleaningDaniel Dunbar2008-08-111-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 Kremenek2008-07-291-2/+2
| | | | llvm-svn: 54181
* Modified HTMLDiagnostics to also perform syntax highlighting for errors in ↵Ted Kremenek2008-07-231-13/+57
| | | | | | header files. llvm-svn: 53965
* In a report-XXXXX.html, make the title include the name of the file with the ↵Ted Kremenek2008-07-071-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 Kremenek2008-05-061-7/+30
| | | | llvm-svn: 50783
* Output better paths to display in bug reports and compute a commonTed Kremenek2008-05-021-5/+6
| | | | | | prefix for all files. llvm-svn: 50592
* added preliminary diagnostics in scan-build results to denote whetherTed Kremenek2008-04-301-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 Kremenek2008-04-241-1/+7
| | | | llvm-svn: 50234
* PathDiagnosticClients now retain ownership of passed PathDiagnostics, requiringTed Kremenek2008-04-221-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 Kremenek2008-04-201-6/+1
| | | | llvm-svn: 49982
* Fixed range highlighting bug in HTML diagnostics.Ted Kremenek2008-04-181-4/+2
| | | | llvm-svn: 49893
* class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its ↵Ted Kremenek2008-04-171-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 toTed Kremenek2008-04-171-1/+1
| | | | | | avoid corrupting Preprocessor state. Working on a fix. llvm-svn: 49864
* HAve HTMLDiagnostics use html::HighlightRange to highlight message ranges.Ted Kremenek2008-04-171-64/+6
| | | | llvm-svn: 49863
* Hook up HTMLDiagnostics to use Chris's new syntax highlighting. --html-diagsTed Kremenek2008-04-161-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 Kremenek2008-04-151-5/+17
| | | | llvm-svn: 49742
* HTMLDiagnostics now uses the new "getCanonicalID()", "isFromMainFileID()" ↵Ted Kremenek2008-04-141-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 outTed Kremenek2008-04-081-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 rangesTed Kremenek2008-04-081-0/+56
| | | | | | that span multiple lines by inserting multiple "</span>" and "<span>" tags. llvm-svn: 49403
* Use logical line number for BUGLINE.Ted Kremenek2008-04-031-7/+5
| | | | llvm-svn: 49178
* Added guard for printing out PathDiagnostics whose last element ends withTed Kremenek2008-04-031-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 Kremenek2008-04-021-0/+3
| | | | llvm-svn: 49116
* Embed BUGLINE, BUGFILE, BUGPATHLENGTH in the emitted HTML file.Ted Kremenek2008-04-021-14/+32
| | | | llvm-svn: 49114
* Put "BUGDESC" comment tag on its own line.Ted Kremenek2008-04-021-1/+1
| | | | llvm-svn: 49103
* Embed "DESC" tag in HTML reports.Ted Kremenek2008-04-021-0/+10
| | | | llvm-svn: 49084
* Embed linkable IDs in message bubbles.Ted Kremenek2008-03-311-4/+14
| | | | llvm-svn: 49005
* Better handling for tabs with message bubbles.Ted Kremenek2008-03-311-1/+1
| | | | llvm-svn: 49001
* When emitting HTML messages, take into account margin fusing due to tabs.Ted Kremenek2008-03-311-1/+8
| | | | llvm-svn: 48998
* For HTMLDiagnostics, when emitting the name of the directory, substitute the ↵Ted Kremenek2008-03-271-2/+10
| | | | | | current working directory for "." llvm-svn: 48888
* Add html::EscapeText for std::string; use this function to escape text in ↵Ted Kremenek2008-03-271-3/+3
| | | | | | message bubbles. llvm-svn: 48884
* Output directory as well as file name.Ted Kremenek2008-03-271-1/+2
| | | | llvm-svn: 48870
* Added <h3> tag in HTML file output that contains the name of the source file.Ted Kremenek2008-03-271-1/+12
| | | | llvm-svn: 48869
* Added "HTMLDiagnostic", a generic DiagnosticClient (that also implements ↵Ted Kremenek2008-03-271-0/+245
PathDiagnostic) so that all diagnostics can be piped to HTML files instead of as text diagnostics using --html-diags. llvm-svn: 48865
OpenPOWER on IntegriCloud