On strtod and friends, mark 'endptr' nocapture in the function prototype, and
authorNick Lewycky <nicholas@mxc.ca>
Fri, 13 Feb 2009 15:31:46 +0000 (15:31 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 13 Feb 2009 15:31:46 +0000 (15:31 +0000)
commit4c49841f34baa3d0114ab8391403bee8b1a136e8
treefc859fd7a2713267c986d57d53752c09052e360e
parente70a6835c447e8dd2ea368485088783e7995ea8f
On strtod and friends, mark 'endptr' nocapture in the function prototype, and
mark the first argument nocapture if endptr=NULL for each particular call.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64453 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
test/Transforms/SimplifyLibCalls/2009-02-12-StrTo.ll [new file with mode: 0644]