Lines Matching refs:diff
248 static std::string getChangeKindAbbr(diff::ChangeKind Kind) { in getChangeKindAbbr()
250 case diff::None: in getChangeKindAbbr()
252 case diff::Delete: in getChangeKindAbbr()
254 case diff::Update: in getChangeKindAbbr()
256 case diff::Insert: in getChangeKindAbbr()
258 case diff::Move: in getChangeKindAbbr()
260 case diff::UpdateMove: in getChangeKindAbbr()
266 static unsigned printHtmlForNode(raw_ostream &OS, const diff::ASTDiff &Diff, in printHtmlForNode()
267 diff::SyntaxTree &Tree, bool IsLeft, in printHtmlForNode()
268 diff::NodeId Id, unsigned Offset) { in printHtmlForNode()
269 const diff::Node &Node = Tree.getNode(Id); in printHtmlForNode()
271 diff::NodeId LeftId, RightId; in printHtmlForNode()
272 diff::NodeId TargetId = Diff.getMapped(Tree, Id); in printHtmlForNode()
301 if (Node.Change != diff::None) in printHtmlForNode()
305 for (diff::NodeId Child : Node.Children) in printHtmlForNode()
344 static void printNodeAttributes(raw_ostream &OS, diff::SyntaxTree &Tree,
345 diff::NodeId Id) {
346 const diff::Node &N = Tree.getNode(Id);