OSDN Git Service

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)
commit88d41afad15cfeaea7432303bedb5824e9754ff7
tree0321941dbb719614230548df7c5b9495b705952a
parent2a90ef918a8348d89cf6740281d5c035b251924e
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