]> granicus.if.org Git - clang/commit
When comparing two templates in the template differ, consider them the
authorDouglas Gregor <dgregor@apple.com>
Thu, 31 Jan 2013 01:08:35 +0000 (01:08 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 31 Jan 2013 01:08:35 +0000 (01:08 +0000)
commit1166723df8af0f062c3f6d473d8ae7bb2b64e572
tree9ff9bd33ecf1b5f035f51230866a4537271c8d72
parentc4c62fd78a4728c9e4d4df14911a2ced9bdd2031
When comparing two templates in the template differ, consider them the
same if they are actually the same; having the same name isn't
enough. Fixes <rdar://problem/12931988>.

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