commit | a18d7d80eb914a48521f0b7b25057fb8a69c4652 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Aug 14 20:49:40 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Aug 14 20:49:40 2009 +0000 |
tree | 7cc329701a9967554437e03ba8b0fb90fd78401f | |
parent | 343a3cf57ee950b024bade8b6b0a2b51663f43cd [diff] |
Improve Sema's handling of attribute 'malloc' to reject the attribute when attaching to Objective-C methods (which mirrors GCC's behavior) and to allow the return type of the function to be an Objective-C pointer or Block pointer (which GCC also accepts). Along the way, add 'const' to some of the pointer arguments of various utility functions... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79040 91177308-0d34-0410-b5e6-96231b3b80d8