aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
AgeCommit message (Expand)AuthorFilesLines
2015-06-15MIR Serialization: Connect the machine function analysis pass to the MIR parser.Alex Lorenz1-22/+24
2015-03-23Purge unused includes throughout libSupport.Benjamin Kramer1-2/+0
2014-11-06Remove unnecessary .c_str() when implicitly converting to TwineMatt Arsenault1-2/+2
2014-08-21Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std...David Blaikie1-6/+1
2014-07-09SourceMgr: consistently use 'unsigned' for the memory buffer ID typeDmitri Gribenko1-3/+3
2014-07-06Update the MemoryBuffer API to use ErrorOr.Rafael Espindola1-7/+9
2014-07-06SourceMgr: make valid buffer IDs start from oneAlp Toker1-15/+16
2014-06-25Use SourceMgr::getMemoryBuffer() in a couple of placesAlp Toker1-2/+2
2014-06-17Add an overload for SourceMgr::PrintMessage that takes an existing diagnostic.Jordan Rose1-8/+11
2014-06-17Modernize doc comments for SourceMgr.Jordan Rose1-12/+0
2014-06-12Remove system_error.h.Rafael Espindola1-1/+1
2014-05-16Fix hardcoded slash to native path seperator which was exposed from llvm::sys...Yaron Keren1-1/+2
2014-04-09[C++11] Replace some comparisons with 'nullptr' with simple boolean checks to...Craig Topper1-1/+1
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper1-2/+2
2014-03-06Replace OwningPtr<T> with std::unique_ptr<T>.Ahmed Charles1-2/+1
2014-03-05[C++11] Replace OwningPtr::take() with OwningPtr::release().Ahmed Charles1-1/+1
2013-09-27SourceMgr diagnotics printing: fix a bug where printing a fixit for a sourceDmitri Gribenko1-1/+1
2013-09-27Make SourceMgr::PrintMessage() testable and add unit testsDmitri Gribenko1-3/+8
2013-07-20Fix size_t -> uint warnings with MSVC 64-bit buildMatt Arsenault1-3/+3
2013-05-15Use only explicit bool conversion operatorsDavid Blaikie1-1/+1
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