Add utility functions for marking parameters as noalias or nocapture.
authorNick Lewycky <nicholas@mxc.ca>
Sun, 4 Jan 2009 18:21:35 +0000 (18:21 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 4 Jan 2009 18:21:35 +0000 (18:21 +0000)
commit30b64129f5bf03521665115023c9a360a4e67218
tree0321941dbb719614230548df7c5b9495b705952a
parenta96658c417bd3c1278fb55fcb2782709b1dae397
Add utility functions for marking parameters as noalias or nocapture.

Clean up some of the existing code by making it use hasFnAttr/addFnAttr
and round it off by creating removeFnAttr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61627 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Function.h