summaryrefslogtreecommitdiff
path: root/lib/Support/SourceMgr.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-02-15Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C ...Benjamin Kramer1-2/+2
2013-01-11SMDiagnostic: don't emit ranges if there are /any/ multibyte characters.Jordan Rose1-9/+12
2013-01-10Add basic fix-its to SMDiagnostic.Jordan Rose1-32/+158
2013-01-07Change SMRange to be half-open (exclusive end) instead of closed (inclusive)Jordan Rose1-1/+1
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-2/+2
2012-07-20SourceMgr: Use has_colors() instead of just is_displayed() before trying to useDaniel Dunbar1-2/+2
2012-05-07Don't assume size_t is unsigned long long.Matt Beaumont-Gay1-3/+1
2012-05-06make SourceMgr tolerate empty SMLoc()'s better.Chris Lattner1-45/+54
2012-05-05reapply my patch, with a fix for an off-by-one error. Turned out to be a lotChris Lattner1-12/+18
2012-05-05revert my patches, which are causing problems.Chris Lattner1-18/+12
2012-05-05refactor some code to expose column numbers more and make diagnostic printing...Chris Lattner1-12/+18
2012-04-18SourceMgr: Colorize diagnostics.Benjamin Kramer1-7/+41
2012-01-16Removing unused default switch cases in switches over enums that already acco...David Blaikie1-1/+0
2011-10-16remove the dead 'ShowLine' argument from SMDiagnostic.Chris Lattner1-11/+8
2011-10-16Make SMDiagnostic a little more sane. Instead of passing around note/warning...Chris Lattner1-16/+22
2011-10-16Enhance llvm::SourceMgr to support diagnostic ranges, the same way clang does...Chris Lattner1-21/+100
2011-06-01Add new -d option to tblgen. It writes a make(1)-style dependency file.Joerg Sonnenberger1-4/+6
2010-12-16MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> v...Michael J. Spencer1-4/+5
2010-12-09Fix whitespace.Michael J. Spencer1-1/+1
2010-12-09Support/MemoryBuffer: Replace all uses of std::string *ErrMsg with error_code...Michael J. Spencer1-3/+4
2010-11-17now that AsmPrinter::EmitInlineAsm is factored right, we can eliminate theChris Lattner1-2/+1
2010-09-27Push twines deeper into SourceMgr's error handling methods.Benjamin Kramer1-8/+8
2010-04-06enhance SMDiagnostic to also maintain a pointer to the SourceMgr.Chris Lattner1-1/+1
2010-04-06give the SourceMgr object a cookie.Chris Lattner1-1/+2
2010-04-06Give llvm::SourceMgr the ability to have a client-specifiedChris Lattner1-1/+8
2010-01-27Make SMDiagnostic::Print a const method.Mikhail Glushenkov1-1/+1
2010-01-27Trailing whitespace.Mikhail Glushenkov1-19/+19
2010-01-21Avoid printing a spurious semicolon when there is no filename.Dan Gohman1-9/+12
2009-11-22SourceMgr: Add ShowLine argument to PrintMessage, to allow suppressing the so...Daniel Dunbar1-16/+19
2009-08-11add a trivial line # cache to SourceMgr to make repeated queries toChris Lattner1-0/+40
2009-07-02switch the .ll parser to use SourceMgr.Chris Lattner1-10/+21
2009-07-02add an explicit class for holding llvm::SourceMgr diagnostics and useChris Lattner1-19/+52
2009-06-30Normalize SourceMgr messages.Daniel Dunbar1-3/+7
2009-06-21rename SourceMgr::PrintError to PrintMessage.Chris Lattner1-6/+6
2009-06-21move include searching logic from TGLexer to SourceMgr.Chris Lattner1-0/+20
2009-06-21Rename TGSourceMgr -> SourceMgr.Chris Lattner1-5/+5
2009-06-21rename TGLoc -> SMLoc.Chris Lattner1-6/+6
2009-06-21move TGSourceMgr class out of TableGen into libsupport.Chris Lattner1-0/+107