Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Push twines deeper into SourceMgr's error handling methods. | Benjamin Kramer | 2010-09-27 | 1 | -8/+8 |
| | | | | llvm-svn: 114847 | ||||
* | enhance SMDiagnostic to also maintain a pointer to the SourceMgr. | Chris Lattner | 2010-04-06 | 1 | -1/+1 |
| | | | | | | | Add a simplified constructor for clients that don't have locations like "file not found" errors. llvm-svn: 100538 | ||||
* | give the SourceMgr object a cookie. | Chris Lattner | 2010-04-06 | 1 | -1/+2 |
| | | | | llvm-svn: 100504 | ||||
* | Give llvm::SourceMgr the ability to have a client-specified | Chris Lattner | 2010-04-06 | 1 | -1/+8 |
| | | | | | | diagnostic handler. llvm-svn: 100503 | ||||
* | Make SMDiagnostic::Print a const method. | Mikhail Glushenkov | 2010-01-27 | 1 | -1/+1 |
| | | | | llvm-svn: 94672 | ||||
* | Trailing whitespace. | Mikhail Glushenkov | 2010-01-27 | 1 | -19/+19 |
| | | | | llvm-svn: 94671 | ||||
* | Avoid printing a spurious semicolon when there is no filename. | Dan Gohman | 2010-01-21 | 1 | -9/+12 |
| | | | | llvm-svn: 94071 | ||||
* | SourceMgr: Add ShowLine argument to PrintMessage, to allow suppressing the ↵ | Daniel Dunbar | 2009-11-22 | 1 | -16/+19 |
| | | | | | | source line output. llvm-svn: 89627 | ||||
* | add a trivial line # cache to SourceMgr to make repeated queries to | Chris Lattner | 2009-08-11 | 1 | -0/+40 |
| | | | | | | FindLineNumber much faster when in sequence. llvm-svn: 78693 | ||||
* | switch the .ll parser to use SourceMgr. | Chris Lattner | 2009-07-02 | 1 | -10/+21 |
| | | | | llvm-svn: 74735 | ||||
* | add an explicit class for holding llvm::SourceMgr diagnostics and use | Chris Lattner | 2009-07-02 | 1 | -19/+52 |
| | | | | | | | | | | | | | | | it to print them. This gives us column numbers in the diag line. Before: t.s:4: error: unexpected token in argument list mov %eax %edx ^ now: t.s:4:11: error: unexpected token in argument list mov %eax %edx ^ llvm-svn: 74732 | ||||
* | Normalize SourceMgr messages. | Daniel Dunbar | 2009-06-30 | 1 | -3/+7 |
| | | | | | | | | | | | | - Don't print "Parsing" in front of every message. - Take additional "type" argument which is prepended to the message (with ": ") if given. - Update clients to print errors (warnings) as: <filename>:<line number>: error(warning): ... llvm-svn: 74489 | ||||
* | rename SourceMgr::PrintError to PrintMessage. | Chris Lattner | 2009-06-21 | 1 | -6/+6 |
| | | | | llvm-svn: 73861 | ||||
* | move include searching logic from TGLexer to SourceMgr. | Chris Lattner | 2009-06-21 | 1 | -0/+20 |
| | | | | llvm-svn: 73845 | ||||
* | Rename TGSourceMgr -> SourceMgr. | Chris Lattner | 2009-06-21 | 1 | -5/+5 |
| | | | | llvm-svn: 73844 | ||||
* | rename TGLoc -> SMLoc. | Chris Lattner | 2009-06-21 | 1 | -6/+6 |
| | | | | llvm-svn: 73843 | ||||
* | move TGSourceMgr class out of TableGen into libsupport. | Chris Lattner | 2009-06-21 | 1 | -0/+107 |
llvm-svn: 73842 |