Skip to content

Commit 7a3e211

Browse files
committed
remove {
1 parent af461d8 commit 7a3e211

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lldb/tools/lldb-dap/Protocol/ProtocolRequests.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,8 @@ bool fromJSON(const json::Value &Params, BreakpointLocationsArguments &BLA,
256256

257257
llvm::json::Value toJSON(const BreakpointLocationsResponseBody &BLRB) {
258258
llvm::json::Array breakpoints_json;
259-
for (const auto &breakpoint : BLRB.breakpoints) {
259+
for (const auto &breakpoint : BLRB.breakpoints)
260260
breakpoints_json.push_back(toJSON(breakpoint));
261-
}
262261
return llvm::json::Object{{"breakpoints", std::move(breakpoints_json)}};
263262
}
264263

llvm/include/llvm/Support/JSON.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ inline bool fromJSON(const Value &E, unsigned int &Out, Path P) {
781781
Out = *S;
782782
return true;
783783
}
784-
P.report("expected integer");
784+
P.report("expected unsigned integer");
785785
return false;
786786
}
787787
inline bool fromJSON(const Value &E, uint64_t &Out, Path P) {

0 commit comments

Comments
 (0)