We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a983de3 commit b5d83afCopy full SHA for b5d83af
lib/IRGen/IRGenDebugInfo.cpp
@@ -758,7 +758,7 @@ class IRGenDebugInfoImpl : public IRGenDebugInfo {
758
// The function return type is the first element in the list.
759
createParameterType(Parameters, getResultTypeForDebugInfo(IGM, FnTy));
760
761
- for (auto Param : FnTy->getParameters())
+ for (auto &Param : FnTy->getParameters())
762
createParameterType(
763
Parameters, IGM.silConv.getSILType(
764
Param, FnTy, IGM.getMaximalTypeExpansionContext()));
0 commit comments