@@ -41,6 +41,10 @@ class DiagnosticOptions {
41
41
// / Indicates whether diagnostic passes should be skipped.
42
42
bool SkipDiagnosticPasses = false ;
43
43
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
+
44
48
// / Keep emitting subsequent diagnostics after a fatal error.
45
49
bool ShowDiagnosticsAfterFatalError = false ;
46
50
@@ -54,22 +58,23 @@ class DiagnosticOptions {
54
58
// / Treat all warnings as errors
55
59
bool WarningsAsErrors = false ;
56
60
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.
58
63
bool PrintDiagnosticNames = false ;
59
64
60
65
// / If set to true, include educational notes in printed output if available.
61
66
// / Educational notes are documentation which supplement diagnostics.
62
67
bool PrintEducationalNotes = false ;
63
68
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) .
66
71
FormattingStyle PrintedFormattingStyle = FormattingStyle::LLVM;
67
72
68
73
std::string DiagnosticDocumentationPath = " " ;
69
74
70
75
std::string LocalizationCode = " " ;
71
76
72
- // Diagnostic messages directory path .
77
+ // / Path to a directory of diagnostic localization tables .
73
78
std::string LocalizationPath = " " ;
74
79
75
80
// / Return a hash code of any components from these options that should
0 commit comments