]> granicus.if.org Git - clang/commit
When comparing parameters of reference-to-qualified type during
authorDouglas Gregor <dgregor@apple.com>
Sat, 30 Apr 2011 17:07:52 +0000 (17:07 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 30 Apr 2011 17:07:52 +0000 (17:07 +0000)
commit769d0cc72b1831785596d0e76f327bdb887823be
tree1b8f3b1861cdabb9e74622b17da91cb5dcc36500
parent0c4e5d6c499e926a99812a92937df587f67e8362
When comparing parameters of reference-to-qualified type during
partial ordering of function templates, use a simple superset
relationship rather than the convertibility-implying
isMoreQualifiedThan/compatibilyIncludes relationship. Fixes partial
ordering between references and address-space-qualified references.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130612 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Type.h
lib/AST/Type.cpp
lib/Sema/SemaTemplateDeduction.cpp
test/SemaTemplate/address-spaces.cpp