Skip to content
Commit 527042b5 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

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...

llvm-svn: 79040
parent 7dae88d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment