aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/SourceMgr.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-01-28Make llvm::StringRef to std::string conversions explicit.Benjamin Kramer1-7/+7
2019-06-21Simplify std::lower_bound with llvm::{bsearch,lower_bound}. NFCFangrui Song1-8/+3
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-10-24[SourceMgr][FileCheck] Obey -color by extending WithColorJoel E. Denny1-63/+45
2018-10-22Revert r344930 as it broke some of the bots on Windows.Aaron Ballman1-45/+63
2018-10-22[SourceMgr][FileCheck] Obey -color by extending WithColorJoel E. Denny1-63/+45
2018-09-27llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...)Fangrui Song1-1/+1
2018-09-05[Windows] Convert from UTF-8 to UTF-16 when writing to a Windows consoleReid Kleckner1-4/+10
2018-07-30Remove trailing spaceFangrui Song1-12/+12
2018-07-17Don't assert that a size_t fits into 64bit.Joerg Sonnenberger1-1/+0
2018-04-08[Support] Change std::sort to llvm::sort in response to r327219Mandeep Singh Grang1-1/+1
2018-04-07[Support] Make line-number cache robust against access patterns.Graydon Hoare1-51/+74
2017-10-12Add DK_Remark to SMDiagnosticAdam Nemet1-0/+5
2017-06-06Sort the remaining #include lines in include/... and lib/....Chandler Carruth1-3/+3
2017-05-01Remove unnecessary conditions as suggested by clang-tidy. NFCGabor Horvath1-3/+1
2017-02-15[Support] Fix some Clang-tidy modernize and Include What You Use warnings; ot...Eugene Zelenko1-8/+19
2016-10-01Use StringRef for MemoryBuffer identifier API (NFC)Mehdi Amini1-1/+1
2016-08-16Remove excessive padding from LineNoCacheTyBenjamin Kramer1-1/+1
2016-08-12Use the range variant of find_if instead of unpacking begin/endDavid Majnemer1-2/+2
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