[clang-diff] Add initial implementation
authorAlex Lorenz <arphaman@gmail.com>
Fri, 21 Jul 2017 12:49:28 +0000 (12:49 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 21 Jul 2017 12:49:28 +0000 (12:49 +0000)
commit02689b0536857e85f48e9958baff00de321323e2
tree5ed1faf56e16d372e2b4cd0b49cdd1b5e2f14a42
parent98d12e2907c609210372edb107203c16cd4c4848
[clang-diff] Add initial implementation

This is the first commit for the "Clang-based C/C++ diff tool" GSoC project.

ASTDiff is a new library that computes a structural AST diff between two ASTs
using the gumtree algorithm. Clang-diff is a new Clang tool that will show
the structural code changes between different ASTs.

Patch by Johannes Altmanninger!

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@308731 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/ASTDiff/ASTDiff.h [new file with mode: 0644]
include/clang/Tooling/ASTDiff/ASTDiffInternal.h [new file with mode: 0644]
lib/Tooling/ASTDiff/ASTDiff.cpp [new file with mode: 0644]
lib/Tooling/ASTDiff/CMakeLists.txt [new file with mode: 0644]
lib/Tooling/CMakeLists.txt
test/Tooling/clang-diff-basic.cpp [new file with mode: 0644]
tools/CMakeLists.txt
tools/clang-diff/CMakeLists.txt [new file with mode: 0644]
tools/clang-diff/ClangDiff.cpp [new file with mode: 0644]