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 7af8a35 commit 5774e54Copy full SHA for 5774e54
lib/SIL/IR/SILInstructions.cpp
@@ -75,7 +75,7 @@ static void buildTypeDependentOperands(
75
bool hasDynamicSelf, SmallVectorImpl<SILValue> &TypeDependentOperands,
76
SILFunction &F) {
77
78
- for (const auto archetype : RootOpenedArchetypes) {
+ for (const auto &archetype : RootOpenedArchetypes) {
79
SILValue def = F.getModule().getRootOpenedArchetypeDef(archetype, &F);
80
assert(def->getFunction() == &F &&
81
"def of root opened archetype is in wrong function");
0 commit comments