mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-15 07:39:31 +00:00
Fix annotation of unlink. Should fix builder.
llvm-svn: 185738
This commit is contained in:
parent
f803d12937
commit
87a7daa554
@ -1343,7 +1343,7 @@ bool FunctionAttrs::inferPrototypeAttributes(Function &F) {
|
|||||||
return false;
|
return false;
|
||||||
setDoesNotThrow(F);
|
setDoesNotThrow(F);
|
||||||
setDoesNotCapture(F, 1);
|
setDoesNotCapture(F, 1);
|
||||||
setOnlyReadsMemory(F, 2);
|
setOnlyReadsMemory(F, 1);
|
||||||
break;
|
break;
|
||||||
case LibFunc::unsetenv:
|
case LibFunc::unsetenv:
|
||||||
if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy())
|
if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy())
|
||||||
|
Loading…
Reference in New Issue
Block a user