projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a210b7
)
Add missing break statements. Noticed by inspection.
author
Nick Lewycky
<nicholas@mxc.ca>
Tue, 2 Jul 2013 05:02:56 +0000
(
05:02
+0000)
committer
Nick Lewycky
<nicholas@mxc.ca>
Tue, 2 Jul 2013 05:02:56 +0000
(
05:02
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185414
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/IPO/FunctionAttrs.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/IPO/FunctionAttrs.cpp
b/lib/Transforms/IPO/FunctionAttrs.cpp
index bc5109b4d48d09b434f837f9b3ec6741169b02e5..79ce3c330572c542c0d4a9f15e0bbb9d8f5e4396 100644
(file)
--- a/
lib/Transforms/IPO/FunctionAttrs.cpp
+++ b/
lib/Transforms/IPO/FunctionAttrs.cpp
@@
-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: