Searched refs:StateNode (Results 1 – 1 of 1) sorted by relevance
1189 struct StateNode { struct in clang::format::__anond596d1440111::OptimizingLineFormatter1190 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() function1194 StateNode *Previous; argument1199 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;1223 StateNode *RootNode = in analyzeSolutionSpace()1224 new (Allocator.Allocate()) StateNode(InitialState, false, nullptr); in analyzeSolutionSpace()1237 StateNode *Node = Queue.top().second; in analyzeSolutionSpace()1284 void addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode, in addNextStateToQueue()1291 StateNode *Node = new (Allocator.Allocate()) in addNextStateToQueue()1292 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()[all …]