Home
last modified time | relevance | path

Searched refs:StateNode (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineFormatter.cpp1122 struct StateNode { struct in clang::format::__anon8a591c740111::OptimizingLineFormatter
1123 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode() argument
1127 StateNode *Previous; argument
1132 typedef std::pair<OrderedPenalty, StateNode *> QueueItem;
1156 StateNode *RootNode = in analyzeSolutionSpace()
1170 StateNode *Node = Queue.top().second; in analyzeSolutionSpace()
1224 StateNode *Node = new (Allocator.Allocate()) in addNextStateToQueue()
1225 StateNode(PreviousNode->State, NewLine, PreviousNode); in addNextStateToQueue()
1237 void reconstructPath(LineState &State, StateNode *Best) { in reconstructPath()
1238 llvm::SmallVector<StateNode *> Path; in reconstructPath()
[all …]