Skip to content

Add generated file note to Options.swift #1330

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Sources/SwiftOptions/Options.swift
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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