[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
Showing
- include/clang/Tooling/ASTDiff/ASTDiff.h 21 additions, 36 deletionsinclude/clang/Tooling/ASTDiff/ASTDiff.h
- include/clang/Tooling/ASTDiff/ASTDiffInternal.h 2 additions, 0 deletionsinclude/clang/Tooling/ASTDiff/ASTDiffInternal.h
- lib/Tooling/ASTDiff/ASTDiff.cpp 143 additions, 181 deletionslib/Tooling/ASTDiff/ASTDiff.cpp
- test/Tooling/clang-diff-basic.cpp 14 additions, 4 deletionstest/Tooling/clang-diff-basic.cpp
- tools/clang-diff/ClangDiff.cpp 67 additions, 6 deletionstools/clang-diff/ClangDiff.cpp
Loading
Please register or sign in to comment