summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/HTMLDiagnostics.cpp
Commit message (Collapse)AuthorAgeFilesLines
* refactor htmldiags to be created up front like the other diag clients.Chris Lattner2009-04-171-15/+8
| | | | llvm-svn: 69379
* Change Lexer::MeasureTokenLength to take a LangOptions reference.Chris Lattner2009-04-141-4/+4
| | | | | | | | | | | | | | | | | | This allows it to accurately measure tokens, so that we get: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~~^ instead of the woefully inferior: t.cpp:8:13: error: unknown type name 'X' static foo::X P; ~~~~ ^ Most of this is just plumbing to push the reference around. llvm-svn: 69099
* Also "flatten" PathLocations fed to the HTMLDiagnosticClient. We need a betterTed Kremenek2009-04-021-0/+1
| | | | | | long-term strategy, but this should work for now. llvm-svn: 68297
* - Changed PathDiagnosticPiece::getLocation() to return a PathDiagnosticLocationTed Kremenek2009-04-011-17/+18
| | | | | | | | | instead of a FullSourceLoc. This resulted in a bunch of small edits in various clients. - Updated BugReporter to include an alternate PathDiagnostic generation algorithm for PathDiagnosticClients desiring more control-flow pieces. llvm-svn: 68193
* BugReporter:Ted Kremenek2009-03-101-49/+135
| | | | | | | | | | | | - Group control flow and event PathDiagnosticPieces into PathDiagnosticMacroPieces. - Afterwards, eliminate any PathDiagnosticMacroPieces from a PathDiagnostic that contain no informative events. HTMLDiagnostics: - Use new information about PathDiagnosticMacroPieces to specially format message bubbles for macro expansions containing interesting events. llvm-svn: 66524
* Handle "Macro" PathDiagnosticPiece kind when getting string identifier.Ted Kremenek2009-03-101-4/+3
| | | | llvm-svn: 66518
* Resize message bubble back to original size.Ted Kremenek2009-03-021-1/+1
| | | | llvm-svn: 65892
* Adjust HTML message bubbles to utilize information from ↵Ted Kremenek2009-03-021-12/+26
| | | | | | PathDiagnosticPiece::Kind. llvm-svn: 65891
* Update HTML diagnostics to honor the different between 'event' and ↵Ted Kremenek2009-03-021-1/+7
| | | | | | 'control-flow' diagnostics. llvm-svn: 65877
* Rename lib/Driver (etc) to lib/Frontend in prep for the *actual*Daniel Dunbar2009-03-021-0/+502
driver taking lib/Driver. llvm-svn: 65811
OpenPOWER on IntegriCloud