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 f973e15 + dae4f20 commit e45574eCopy full SHA for e45574e
include/swift/Basic/Mangler.h
@@ -124,6 +124,11 @@ class Mangler {
124
/// Appends a mangled identifier string.
125
void appendIdentifier(StringRef ident);
126
127
+ // NOTE: the addSubsitution functions perform the value computation before
128
+ // the assignment because there is no sequence point synchronising the
129
+ // computation of the value before the insertion of the new key, resulting in
130
+ // the computed value being off-by-one causing an undecoration failure during
131
+ // round-tripping.
132
void addSubstitution(const void *ptr) {
133
if (!UseSubstitutions)
134
return;
0 commit comments