]> granicus.if.org Git - clang/commit
[clang-diff] Move printing of matches and changes to clang-diff
authorJohannes Altmanninger <aclopte@gmail.com>
Fri, 18 Aug 2017 21:26:34 +0000 (21:26 +0000)
committerJohannes Altmanninger <aclopte@gmail.com>
Fri, 18 Aug 2017 21:26:34 +0000 (21:26 +0000)
commitee444f1e76dacd6593a5924b4f15bbec471010f7
tree0391d87750fc0f2a8b96bd84bd99eca8231fb20b
parent5ce0ae8c6ac9dc99e4807f2989be4c6c50975c5e
[clang-diff] Move printing of matches and changes to clang-diff

Summary:
This also changes the output order of the changes. Now the matches are
printed in pre-order, intertwined with insertions, updates, and moves.
Deletions are printed afterwards.

Reviewers: arphaman

Subscribers: klimek

Differential Revision: https://reviews.llvm.org/D36179

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311200 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/ASTDiff/ASTDiff.h
include/clang/Tooling/ASTDiff/ASTDiffInternal.h
lib/Tooling/ASTDiff/ASTDiff.cpp
test/Tooling/clang-diff-basic.cpp
tools/clang-diff/ClangDiff.cpp