]> granicus.if.org Git - clang/commit
Add new diff modes to template type diffing.
authorRichard Trieu <rtrieu@google.com>
Fri, 15 Jan 2016 05:01:53 +0000 (05:01 +0000)
committerRichard Trieu <rtrieu@google.com>
Fri, 15 Jan 2016 05:01:53 +0000 (05:01 +0000)
commita477b5ffc4676516a26d1147c8d1d8cf49b1f5af
tree0e4b1a65ff2f34dadc6c331121d7268aac3bd817
parent0fb199899e77299c59411d8d58f8cc54756f1b38
Add new diff modes to template type diffing.

Remove an old assertion that does not hold.  It is possible for a template
argument to be a declaration in one instantiation and an integer in another.
Create two new diff kinds for these (decl vs int and int vs decl).

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