diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:09:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:09:23 +0000 |
| commit | f73363f1dd94996356cefbf24388f561891acf0b (patch) | |
| tree | e3c31248bdb36eaec5fd833490d4278162dba2a0 /source/Utility/StructuredData.cpp | |
| parent | 160ee69dd7ae18978f4068116777639ea98dc951 (diff) | |
Notes
Diffstat (limited to 'source/Utility/StructuredData.cpp')
| -rw-r--r-- | source/Utility/StructuredData.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/Utility/StructuredData.cpp b/source/Utility/StructuredData.cpp index 492fc585ad07..55f003f245bf 100644 --- a/source/Utility/StructuredData.cpp +++ b/source/Utility/StructuredData.cpp @@ -85,8 +85,7 @@ static StructuredData::ObjectSP ParseJSONObject(JSONParser &json_parser) { static StructuredData::ObjectSP ParseJSONArray(JSONParser &json_parser) { // The "JSONParser::Token::ObjectStart" token should have already been - // consumed - // by the time this function is called + // consumed by the time this function is called auto array_up = llvm::make_unique<StructuredData::Array>(); std::string value; @@ -162,8 +161,8 @@ StructuredData::Object::GetObjectForDotSeparatedPath(llvm::StringRef path) { std::string key = match.first.str(); ObjectSP value = this->GetAsDictionary()->GetValueForKey(key); if (value.get()) { - // Do we have additional words to descend? If not, return the - // value we're at right now. + // Do we have additional words to descend? If not, return the value + // we're at right now. if (match.second.empty()) { return value; } else { |
