diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-03-28 00:03:10 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-03-28 00:03:10 +0000 |
commit | 93d6b07cd79d74e343d81c0e8fb5365376a33097 (patch) | |
tree | 83228486bce06c1ebd55784eb9bdef9970df55b0 /lib/Frontend/HeaderIncludeGen.cpp | |
parent | ab2d09b6287a5dc6fa94d78739444f46f9a78bfb (diff) |
Fold together the two implementations of 6.7.3p2 in SemaType. Fix two bugs, each of which was only present in one version:
* Give the right diagnostic for 'restrict' applied to a non-pointer, non-reference type.
* Don't reject 'restrict' applied indirectly to an Objective-C object pointer type (eg, through template instantiation).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178200 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/HeaderIncludeGen.cpp')
0 files changed, 0 insertions, 0 deletions