mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Diagnostics] Add -suppress-notes flag
We already have -suppress-warnings and -suppress-remarks; this patch adds support for suppressing notes too. Doing so is useful for -verify tests where we don't really care about the emitted notes.
This commit is contained in:
@@ -643,7 +643,7 @@ private:
|
||||
const LangOptions &LangOpts,
|
||||
const ClangImporterOptions &clangImporterOpts,
|
||||
const CASOptions &casOpts,
|
||||
bool suppressRemarks);
|
||||
bool suppressNotes, bool suppressRemarks);
|
||||
bool extractSwiftInterfaceVersionAndArgs(CompilerInvocation &subInvocation,
|
||||
DiagnosticEngine &subInstanceDiags,
|
||||
SwiftInterfaceInfo &interfaceInfo,
|
||||
|
||||
Reference in New Issue
Block a user