Skip to content
Commit 08479ae7 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Change handling of attribute 'malloc' to only accept the attribute on function

declarations (and not function pointers). This is consistent with GCC. Accepting
this attribute on function pointers means that the attribute should be treated
as a type qualifier, which apparently is not what GCC does. We obviously can
change this later should we desire to enhance the 'malloc' attribute in this
way.

llvm-svn: 79060
parent 8dc7626f
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