Skip to content

Commit

Permalink
Merge pull request #1330 from etcwilde/ewilde/generated-file-note
Browse files Browse the repository at this point in the history
Add generated file note to Options.swift
  • Loading branch information
etcwilde committed Apr 13, 2023
2 parents 302ab58 + 9cbe4d9 commit a234bef
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Sources/SwiftOptions/Options.swift
Expand Up @@ -9,6 +9,13 @@
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
//
// NOTE: Generated file, do not edit!
//
// This file is generated from 'apple/swift:include/swift/Option/Options.td'.
// Please see README.md#rebuilding-optionsswift for details
//
//===----------------------------------------------------------------------===//

extension Option {
public static let INPUT: Option = Option("<input>", .input, attributes: [.argumentIsPath])
Expand Down
7 changes: 7 additions & 0 deletions Sources/makeOptions/makeOptions.cpp
Expand Up @@ -232,6 +232,13 @@ int makeOptions_main() {
"// See https://swift.org/LICENSE.txt for license information\n"
"// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors\n"
"//\n"
"//===----------------------------------------------------------------------===//\n"
"//\n"
"// NOTE: Generated file, do not edit!\n"
"//\n"
"// This file is generated from 'apple/swift:include/swift/Option/Options.td'.\n"
"// Please see README.md#rebuilding-optionsswift for details\n"
"//\n"
"//===----------------------------------------------------------------------===//\n\n";
out << "extension Option {\n";
forEachOption([&](const RawOption &option) {
Expand Down

0 comments on commit a234bef

Please sign in to comment.