Add missing break statements. Noticed by inspection.

llvm-svn: 185414
This commit is contained in:
Nick Lewycky 2013-07-02 05:02:56 +00:00
parent 38f66b233c
commit 26fcc51f15
1 changed files with 2 additions and 0 deletions

View File

@ -1004,6 +1004,7 @@ bool FunctionAttrs::inferPrototypeAttributes(Function &F) {
return false;
setDoesNotThrow(F);
setDoesNotCapture(F, 3);
break;
case LibFunc::fread:
case LibFunc::fwrite:
if (FTy->getNumParams() != 4 ||
@ -1013,6 +1014,7 @@ bool FunctionAttrs::inferPrototypeAttributes(Function &F) {
setDoesNotThrow(F);
setDoesNotCapture(F, 1);
setDoesNotCapture(F, 4);
break;
case LibFunc::fputs:
case LibFunc::fscanf:
case LibFunc::fprintf: