diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-08-14 20:49:40 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-08-14 20:49:40 +0000 |
commit | a18d7d80eb914a48521f0b7b25057fb8a69c4652 (patch) | |
tree | 7cc329701a9967554437e03ba8b0fb90fd78401f /lib/CodeGen/CGDebugInfo.cpp | |
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
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions