Skip to content

Commit bd58e22

Browse files
John ButeJohn Bute
authored andcommitted
fixed formatting
1 parent 00173e5 commit bd58e22

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Sources/SWBCore/SpecImplementations/CommandLineToolSpec.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ open class CommandLineToolSpec : PropertyDomainSpec, SpecType, TaskTypeDescripti
400400
}
401401

402402
public func commandLineForSignature(for task: any ExecutableTask) -> [ByteString]? {
403-
nil
403+
return nil
404404
}
405405

406406
static func parseCommandLineTemplate(_ parser: SpecParser, _ components: [String]) -> [CommandLineTemplateArg] {

Sources/SWBCore/SpecImplementations/Tools/CCompiler.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,6 @@ public class ClangCompilerSpec : CompilerSpec, SpecIdentifierType, GCCCompatible
818818
"-fdiagnostics-parseable-fixits",
819819
"-fno-elide-type",
820820
"-fdiagnostics-show-template-tree",
821-
822821

823822
// https://clang.llvm.org/docs/ClangCommandLineReference.html
824823
"-fdiagnostics-show-note-include-stack",
@@ -845,7 +844,7 @@ public class ClangCompilerSpec : CompilerSpec, SpecIdentifierType, GCCCompatible
845844

846845
func isOutputAgnosticCommandLineArgument(_ argument: ByteString, prevArgument: ByteString?) -> Bool {
847846
if ClangCompilerSpec.outputAgnosticCompilerArguments.contains(argument) ||
848-
ClangCompilerSpec.outputAgnosticCompilerArgumentsWithValues.contains(argument) {
847+
ClangCompilerSpec.outputAgnosticCompilerArgumentsWithValues.contains(argument) {
849848
return true
850849
}
851850

0 commit comments

Comments
 (0)