mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Suggested by Jordan, make optional SourceFile field explicit.
This commit is contained in:
@@ -1335,7 +1335,7 @@ SourceFile::SourceFile(ModuleDecl &M, SourceFileKind K,
|
||||
(void)problem;
|
||||
}
|
||||
if (KeepTokens) {
|
||||
pAllCorrectedTokens.reset(new std::vector<Token>());
|
||||
AllCorrectedTokens = std::vector<Token>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user