Searched refs:StateNode (Results 1 – 1 of 1) sorted by relevance
1144 struct StateNode { struct in clang::format::__anon5560ac9b0111::OptimizingLineFormatter1145 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() argument1149 StateNode *Previous; argument1154 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;1178 StateNode *RootNode = in analyzeSolutionSpace()1179 new (Allocator.Allocate()) StateNode(InitialState, false, nullptr); in analyzeSolutionSpace()1192 StateNode *Node = Queue.top().second; in analyzeSolutionSpace()1239 void addNextStateToQueue(unsigned Penalty, StateNode *PreviousNode, in addNextStateToQueue()1246 StateNode *Node = new (Allocator.Allocate()) in addNextStateToQueue()1247 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()[all …]