Skip to content

Commit 77df473

Browse files
committed
[DNM] Cross-repository test PR, please ignore.
1 parent 793b492 commit 77df473

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

lib/Driver/Driver.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212
//
13-
// This file contains implementations of parts of the compiler driver.
13+
// This file contains implementations of parts of the compiler driver. test.
1414
//
1515
//===----------------------------------------------------------------------===//
1616

@@ -72,7 +72,7 @@ Driver::Driver(StringRef DriverExecutable,
7272
: Opts(createSwiftOptTable()), Diags(Diags),
7373
Name(Name), DriverExecutable(DriverExecutable),
7474
DefaultTargetTriple(llvm::sys::getDefaultTargetTriple()) {
75-
75+
7676
// The driver kind must be parsed prior to parsing arguments, since that
7777
// affects how arguments are parsed.
7878
parseDriverKind(Args.slice(1));
@@ -908,7 +908,7 @@ Driver::buildCompilation(const ToolChain &TC,
908908
translateInputAndPathArgs(*ArgList, workingDirectory));
909909

910910
validateArgs(Diags, *TranslatedArgList, TC.getTriple());
911-
911+
912912
// Perform toolchain specific args validation.
913913
TC.validateArguments(Diags, *TranslatedArgList, DefaultTargetTriple);
914914

@@ -1003,7 +1003,7 @@ Driver::buildCompilation(const ToolChain &TC,
10031003
llvm_unreachable("Unknown OutputLevel argument!");
10041004
}
10051005

1006-
1006+
10071007
// About to move argument list, so capture some flags that will be needed
10081008
// later.
10091009
const bool DriverPrintActions =
@@ -1499,7 +1499,7 @@ void Driver::buildOutputInfo(const ToolChain &TC, const DerivedArgList &Args,
14991499
if (Args.hasArg(options::OPT_static))
15001500
Diags.diagnose(SourceLoc(),
15011501
diag::error_static_emit_executable_disallowed);
1502-
1502+
15031503
OI.LinkAction = LinkKind::Executable;
15041504
OI.CompilerOutputType = CompilerOutputType;
15051505
break;
@@ -2530,14 +2530,14 @@ static StringRef baseNameForImage(const JobAction *JA, const OutputInfo &OI,
25302530
StringRef BaseInput, StringRef BaseName) {
25312531
if (JA->size() == 1 && OI.ModuleNameIsFallback && BaseInput != "-")
25322532
return llvm::sys::path::stem(BaseInput);
2533-
2533+
25342534
if (isa<StaticLinkJobAction>(JA)) {
25352535
Buffer = "lib";
25362536
Buffer.append(BaseName);
25372537
Buffer.append(Triple.isOSWindows() ? ".lib" : ".a");
25382538
return Buffer.str();
25392539
}
2540-
2540+
25412541
auto link = dyn_cast<DynamicLinkJobAction>(JA);
25422542
if (!link)
25432543
return BaseName;
@@ -2993,7 +2993,7 @@ Job *Driver::buildJobsForAction(Compilation &C, const JobAction *JA,
29932993

29942994
// 4. Construct a Job which produces the right CommandOutput.
29952995
std::unique_ptr<Job> ownedJob = TC.constructJob(*JA, C, std::move(InputJobs),
2996-
InputActions,
2996+
InputActions,
29972997
std::move(Output), OI);
29982998
Job *J = C.addJob(std::move(ownedJob));
29992999

@@ -3557,7 +3557,7 @@ void Driver::printHelp(bool ShowHidden) const {
35573557
IncludedFlagsBitmask, ExcludedFlagsBitmask,
35583558
/*ShowAllAliases*/false);
35593559

3560-
// These strings match the descriptions found in the corresponding swiftpm
3560+
// These strings match the descriptions found in the corresponding swiftpm
35613561
// help pages
35623562
if (driverKind == DriverKind::Interactive) {
35633563
llvm::outs() << "\nSEE ALSO - PACKAGE MANAGER COMMANDS: \n"
@@ -3566,7 +3566,7 @@ void Driver::printHelp(bool ShowHidden) const {
35663566
"\t\"swift run\" Build and run an executable product \n"
35673567
"\t\"swift test\" Build and run tests \n";
35683568
} else {
3569-
llvm::outs() << "\nSEE ALSO: swift build, swift run, swift package, "
3569+
llvm::outs() << "\nSEE ALSO: swift build, swift run, swift package, "
35703570
"swift test \n";
35713571
}
35723572

0 commit comments

Comments
 (0)