]> granicus.if.org Git - clang/commit
When comparing two template template arguments in the template differ, consider
authorRichard Trieu <rtrieu@google.com>
Thu, 31 Jan 2013 02:47:46 +0000 (02:47 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 31 Jan 2013 02:47:46 +0000 (02:47 +0000)
commitf499b34d4911dda3b20ede1377ea29b83d3f149e
tree31af065ce15ee1a319cd0d2e0a757be971b419c6
parent95f97bf07a1811d020cbdcaa51d6e25752a4bd37
When comparing two template template arguments in the template differ, consider
them the same if they are actually the same; having the same name isn't enough.

Similar to r174013, template template arguments were also mistakenly considered
the same when they had the same name but were in different namespaces.
In addition, when printing template template arguments, use the qualified name
if the regular name is the same.

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