forked from OSchip/llvm-project
Fix annotation of unlink. Should fix builder.
llvm-svn: 185738
This commit is contained in:
parent
69430609ff
commit
cff2cf8e3a
|
@ -1343,7 +1343,7 @@ bool FunctionAttrs::inferPrototypeAttributes(Function &F) {
|
|||
return false;
|
||||
setDoesNotThrow(F);
|
||||
setDoesNotCapture(F, 1);
|
||||
setOnlyReadsMemory(F, 2);
|
||||
setOnlyReadsMemory(F, 1);
|
||||
break;
|
||||
case LibFunc::unsetenv:
|
||||
if (FTy->getNumParams() != 1 || !FTy->getParamType(0)->isPointerTy())
|
||||
|
|
Loading…
Reference in New Issue