Skip to content

Commit 09aee22

Browse files
Merge pull request #30555 from pi1024e/const
Make params and results const in OwnedToGuaranteedAnalyze()
2 parents d3cade9 + c8fa566 commit 09aee22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/SILOptimizer/FunctionSignatureTransforms/OwnedToGuaranteedTransform.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ bool FunctionSignatureTransform::OwnedToGuaranteedAnalyze() {
259259
if (FSODisableOwnedToGuaranteed)
260260
return false;
261261

262-
bool Result = OwnedToGuaranteedAnalyzeResults();
263-
bool Params = OwnedToGuaranteedAnalyzeParameters();
262+
const bool Result = OwnedToGuaranteedAnalyzeResults();
263+
const bool Params = OwnedToGuaranteedAnalyzeParameters();
264264
return Params || Result;
265265
}
266266

0 commit comments

Comments
 (0)