mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Diagnostics] Add -[no-]warning-as-error flags for precise control over warning behavior
This commit adds new compiler options -no-warning-as-error/-warning-as-error which allows users to specify behavior for exact warnings and warning groups.
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
namespace swift {
|
||||
namespace diag {
|
||||
// Declare common diagnostics objects with their appropriate types.
|
||||
#define DIAG(KIND,ID,Options,Text,Signature) \
|
||||
extern detail::DiagWithArguments<void Signature>::type ID;
|
||||
#define DIAG(KIND, ID, Group, Options, Text, Signature) \
|
||||
extern detail::DiagWithArguments<void Signature>::type ID;
|
||||
#include "DiagnosticsModuleDiffer.def"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user