Skip to content

Commit 22fe618

Browse files
committed
AST: Fix uninitialized memory
1 parent 903ba26 commit 22fe618

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/swift/AST/Decl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5109,6 +5109,7 @@ class AbstractFunctionDecl : public GenericContext, public ValueDecl {
51095109
Bits.AbstractFunctionDecl.HasComputedNeedsNewVTableEntry = false;
51105110
Bits.AbstractFunctionDecl.DefaultArgumentResilienceExpansion =
51115111
unsigned(ResilienceExpansion::Maximal);
5112+
Bits.AbstractFunctionDecl.Synthesized = false;
51125113

51135114
// Verify no bitfield truncation.
51145115
assert(Bits.AbstractFunctionDecl.NumParameterLists == NumParameterLists);

0 commit comments

Comments
 (0)