aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Utility/JSON.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-09-06*** This commit represents a complete reformatting of the LLDB source codeKate Stone1-613/+470
*** 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
2016-02-26Fix all of the unannotated switch cases to annotate the fall through or do ↵Greg Clayton1-0/+1
the right thing and break. llvm-svn: 261950
2015-12-14Add failure paths to a few JSONNumber membersOmair Javaid1-1/+5
Differential revision: http://reviews.llvm.org/D15355 llvm-svn: 255499
2015-12-04Improve the functionality of JSONNumberTamas Berghammer1-24/+59
* Add support for representing signed integers * Add new constructors taking any signed or unsigned integer types Differential revision: http://reviews.llvm.org/D15187 llvm-svn: 254715
2015-07-22Fix typos.Bruce Mitchener1-1/+1
Summary: Fix a bunch of typos. Reviewers: clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D11386 llvm-svn: 242856
2015-07-07Fix cmake build after recent JSON changesPavel Labath1-0/+2
I have moved StringExtractor.h into the include/ folder so that it can be properly included by everyone. llvm-svn: 241572
2015-07-06Make the "lldb/Utility/JSON.h" able to parse JSON into tokens with the new ↵Greg Clayton1-17/+451
JSONParser class. Change over existing code to use this new parser so StructuredData can use the tokenizer to parse JSON instead of doing it manually. This allowed us to easily parse JSON into JSON* objects as well as into StructuredData. llvm-svn: 241522
2015-02-10Add a JSON producer to LLDB - this is a set of classes that encapsulate JSON ↵Enrico Granata1-0/+217
objects and allow you to write them to a Stream for subsequent processing Using this JSON producer, write a little tool that expands its own command-line arguments and dumps them to stdout as a JSON array llvm-svn: 228636