]> granicus.if.org Git - clang/commit
Fixing more issues with template type diffing
authorRichard Trieu <rtrieu@google.com>
Fri, 15 Jan 2016 05:48:38 +0000 (05:48 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 15 Jan 2016 05:48:38 +0000 (05:48 +0000)
commit159e5c53c5f3e0cce1509aa591f6a9bc55f403a2
treea011ac5eb626a7ace55d4c1d46654bfb85f67c5e
parenta477b5ffc4676516a26d1147c8d1d8cf49b1f5af
Fixing more issues with template type diffing

1) Print qualifiers for templates with zero arguments
2) Add a few more tests for the template type diffing refactoring.
Specifically, PR24587 has been fixed and has a test case from
http://reviews.llvm.org/D15384
3) Adds asserts to check the DiffTree is in correct state when moving nodes
4) Rename the field FromType and ToType since it is heavily used within
member functions.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257870 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTDiagnostic.cpp
test/Misc/diag-template-diffing.cpp