aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Utility/StringLexer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-09-06*** This commit represents a complete reformatting of the LLDB source codeKate Stone1-90/+54
*** to conform to clang-format’s LLVM style. This kind of mass change has *** two obvious implications: Firstly, merging this particular commit into a downstream fork may be a huge effort. Alternatively, it may be worth merging all changes up to this commit, performing the same reformatting operation locally, and then discarding the merge for this particular commit. The commands used to accomplish this reformatting were as follows (with current working directory as the root of the repository): find . \( -iname "*.c" -or -iname "*.cpp" -or -iname "*.h" -or -iname "*.mm" \) -exec clang-format -i {} + find . -iname "*.py" -exec autopep8 --in-place --aggressive --aggressive {} + ; The version of clang-format used was 3.9.0, and autopep8 was 1.2.4. Secondly, “blame” style tools will generally point to this commit instead of a meaningful prior commit. There are alternatives available that will attempt to look through this change and find the appropriate prior commit. YMMV. llvm-svn: 280751
2014-11-14Removed a couple of static helpers in the data formatters, replaced with new ↵Enrico Granata1-0/+42
general logic in StringLexer llvm-svn: 222058
2014-11-10Cleaned up the StringLexer a little bit. It turnsSean Callanan1-25/+11
out we only want to roll back text that was in the buffer to begin with, so it's not necessary to provide a pushback stack. I'm going to use this slightly cleaner API to perform lookahead for the Objective-C runtime type parser. llvm-svn: 221640
2014-08-23I forgot to include the header file for std::find, and that's breaking the ↵Enrico Granata1-0/+2
Linux build. Push a fix out. Patch suggested by Paul Osmialowski and Randy Smith llvm-svn: 216323
2014-08-23Fix a couple of potential issues in the lexer where we were ignoring the ↵Enrico Granata1-1/+7
putback data llvm-svn: 216304
2014-08-07Add a StringLexer utility class that can be used when you have string data ↵Enrico Granata1-0/+93
that needs to be parsed - I don't think such a general purpose facility is part of LLVM, and I am going to need this, so just add it to lldb_utility llvm-svn: 215133