commit | b1c6f5fa23015fb5ee063fa5eb9717ea5d78cf12 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jun 04 00:15:09 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jun 04 00:15:09 2012 +0000 |
tree | c925ab59cd6acf25c16fa32b1d71f2c829df0f93 | |
parent | 31380fb01042b814c0fdac532a07531ee9c52946 [diff] |
When adding built-in operator candidates for overload resolution involving 'restrict', place restrict on the pointer type rather than on the pointee type. Also make sure that we gather restrict from the pointer type. Fixes PR12854 and the major part of PR11093. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157910 91177308-0d34-0410-b5e6-96231b3b80d8