commit | 28e318cc6008c2bc008f0caee70dc736a03d6289 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Tue Dec 29 07:16:59 2009 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Tue Dec 29 07:16:59 2009 +0000 |
tree | 4974fee65ebbb9fe424d960de3830072247da3ae | |
parent | f5f7d864f5067d1ea4bff7fcf41b53a43b7b48ba [diff] |
Correctly refer to element CVR qualifications when determining if a type is more or less cv-qualified than another during implicit conversion and overload resolution ([basic.type.qualifier] p5). Factors the logic out of template deduction and into the ASTContext so it can be shared. This fixes several aspects of PR5542, but not all of them. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92248 91177308-0d34-0410-b5e6-96231b3b80d8