summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/SourceMgr.cpp
Commit message (Collapse)AuthorAgeFilesLines
* switch the .ll parser to use SourceMgr.Chris Lattner2009-07-021-10/+21
| | | | llvm-svn: 74735
* add an explicit class for holding llvm::SourceMgr diagnostics and useChris Lattner2009-07-021-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 Dunbar2009-06-301-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 Lattner2009-06-211-6/+6
| | | | llvm-svn: 73861
* move include searching logic from TGLexer to SourceMgr.Chris Lattner2009-06-211-0/+20
| | | | llvm-svn: 73845
* Rename TGSourceMgr -> SourceMgr.Chris Lattner2009-06-211-5/+5
| | | | llvm-svn: 73844
* rename TGLoc -> SMLoc.Chris Lattner2009-06-211-6/+6
| | | | llvm-svn: 73843
* move TGSourceMgr class out of TableGen into libsupport.Chris Lattner2009-06-211-0/+107
llvm-svn: 73842
OpenPOWER on IntegriCloud