reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
757 Stack.emplace_back(); 760 assert(Stack.size() == 1 && "Unmatched begin()/end()"); 761 assert(Stack.back().Ctx == Singleton); 762 assert(Stack.back().HasValue && "Did not write top-level value");lib/Support/JSON.cpp
629 assert(Stack.back().Ctx != Object && "Only attributes allowed here"); 630 if (Stack.back().HasValue) { 631 assert(Stack.back().Ctx != Singleton && "Only one value allowed here"); 634 if (Stack.back().Ctx == Array) 636 Stack.back().HasValue = true; 648 Stack.emplace_back(); 649 Stack.back().Ctx = Array; 655 assert(Stack.back().Ctx == Array); 657 if (Stack.back().HasValue) 660 Stack.pop_back(); 661 assert(!Stack.empty()); 666 Stack.emplace_back(); 667 Stack.back().Ctx = Object; 673 assert(Stack.back().Ctx == Object); 675 if (Stack.back().HasValue) 678 Stack.pop_back(); 679 assert(!Stack.empty()); 683 assert(Stack.back().Ctx == Object); 684 if (Stack.back().HasValue) 687 Stack.back().HasValue = true; 688 Stack.emplace_back(); 689 Stack.back().Ctx = Singleton; 702 assert(Stack.back().Ctx == Singleton); 703 assert(Stack.back().HasValue && "Attribute must have a value"); 704 Stack.pop_back(); 705 assert(Stack.back().Ctx == Object);