This is an archive of the discontinued LLVM Phabricator instance.

Remove conflicting attributes before adding deduced readonly/readnone
ClosedPublic

Authored by dotdash on May 25 2015, 9:58 AM.

Details

Summary

In case of functions that have a pointer argument and only pass it to
each other, the function attributes pass deduces that the pointer should
get the readnone attribute, but fails to remove a readonly attribute
that may already have been present.

Diff Detail

Event Timeline

dotdash updated this revision to Diff 26450.May 25 2015, 9:58 AM
dotdash retitled this revision from to Remove conflicting attributes before adding deduced readonly/readnone.
dotdash updated this object.
dotdash edited the test plan for this revision. (Show Details)
dotdash added a reviewer: nlewycky.
dotdash added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.