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.
2 parents 279e147 + b5d83af commit db237bcCopy full SHA for db237bc
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