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 f676066 commit b34cf95Copy full SHA for b34cf95
include/swift/AST/DiagnosticEngine.h
@@ -725,10 +725,10 @@ namespace swift {
725
/// diagnostic message.
726
std::unique_ptr<diag::LocalizationProducer> localization;
727
728
- /// This allocator will retain localized diagnostic strings for the duration
729
- /// of compiler invocation.
+ /// This allocator will retain localized diagnostic strings containing the
+ /// diagnostic's message and identifier for the duration of compiler invocation.
730
llvm::BumpPtrAllocator localizationAllocator;
731
- llvm::Optional<llvm::StringSaver> localizationSaver;
+ llvm::StringSaver localizationSaver;
732
733
/// The number of open diagnostic transactions. Diagnostics are only
734
/// emitted once all transactions have closed.
0 commit comments