| 670 | } |
| 671 | |
| 672 | void llvm::json::OStream::objectEnd() { |
| 673 | assert(Stack.back().Ctx == Object); |
| 674 | Indent -= IndentSize; |
| 675 | if (Stack.back().HasValue) |
| 676 | newline(); |
| 677 | OS << '}'; |
| 678 | Stack.pop_back(); |
| 679 | assert(!Stack.empty()); |
| 680 | } |
| 681 | |
| 682 | void llvm::json::OStream::attributeBegin(llvm::StringRef Key) { |
| 683 | assert(Stack.back().Ctx == Object); |