mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Batch mode driver remark
This commit is contained in:
@@ -716,6 +716,11 @@ Driver::buildCompilation(const ToolChain &TC,
|
||||
const bool ContinueBuildingAfterErrors =
|
||||
BatchMode || ArgList->hasArg(options::OPT_continue_building_after_errors);
|
||||
|
||||
// Issue a remark to facilitate recognizing the use of batch mode in the build
|
||||
// log.
|
||||
if (BatchMode)
|
||||
Diags.diagnose(SourceLoc(), diag::remark_using_batch_mode);
|
||||
|
||||
if (Diags.hadAnyError())
|
||||
return nullptr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user