johannes updated this revision to Diff 121650.
johannes added a comment.
update
https://reviews.llvm.org/D37003
Files:
lib/Tooling/ASTDiff/ASTDiff.cpp
test/Tooling/Inputs/clang-diff-basic-src.cpp
test/Tooling/clang-diff-ast.cpp
test/Tooling/clang-diff-basic.cpp
test/Tooling/clang-diff
johannes updated this revision to Diff 112673.
johannes edited the summary of this revision.
johannes added a comment.
use LexicallyOrderedRecursiveASTVisitor
https://reviews.llvm.org/D37003
Files:
lib/Tooling/ASTDiff/ASTDiff.cpp
test/Tooling/Inputs/clang-diff-basic-src.cpp
test/Tooling/c
arphaman added inline comments.
Comment at: lib/Tooling/ASTDiff/ASTDiff.cpp:299
}
+// We want nodes to be in the same order as in the source code.
+// So we traverse template parameters before the remainder of the declaration.
Interesting, I didn't know that t
johannes created this revision.
Herald added a subscriber: klimek.
TemplateName and TemplateArgument are recognised.
https://reviews.llvm.org/D37003
Files:
lib/Tooling/ASTDiff/ASTDiff.cpp
test/Tooling/Inputs/clang-diff-basic-src.cpp
test/Tooling/clang-diff-ast.cpp
test/Tooling/clang-dif