@@ -41,6 +41,10 @@ class DiagnosticOptions {
4141 // / Indicates whether diagnostic passes should be skipped.
4242 bool SkipDiagnosticPasses = false ;
4343
44+ // / Additional non-source files which will have diagnostics emitted in them,
45+ // / and which should be scanned for expectations by the diagnostic verifier.
46+ std::vector<std::string> AdditionalVerifierFiles;
47+
4448 // / Keep emitting subsequent diagnostics after a fatal error.
4549 bool ShowDiagnosticsAfterFatalError = false ;
4650
@@ -54,22 +58,23 @@ class DiagnosticOptions {
5458 // / Treat all warnings as errors
5559 bool WarningsAsErrors = false ;
5660
57- // When printing diagnostics, include the diagnostic name at the end
61+ // / When printing diagnostics, include the diagnostic name (diag::whatever) at
62+ // / the end.
5863 bool PrintDiagnosticNames = false ;
5964
6065 // / If set to true, include educational notes in printed output if available.
6166 // / Educational notes are documentation which supplement diagnostics.
6267 bool PrintEducationalNotes = false ;
6368
64- // If set to true, use the more descriptive experimental formatting style for
65- // diagnostics .
69+ // / Whether to emit diagnostics in the terse LLVM style or in a more
70+ // / descriptive style that's specific to Swift (currently experimental) .
6671 FormattingStyle PrintedFormattingStyle = FormattingStyle::LLVM;
6772
6873 std::string DiagnosticDocumentationPath = " " ;
6974
7075 std::string LocalizationCode = " " ;
7176
72- // Diagnostic messages directory path .
77+ // / Path to a directory of diagnostic localization tables .
7378 std::string LocalizationPath = " " ;
7479
7580 // / Return a hash code of any components from these options that should
0 commit comments