File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change
1
+ //===--------------- Options.swift - Swift Driver Options -----------------===//
2
+ //
3
+ // This source file is part of the Swift.org open source project
4
+ //
5
+ // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
6
+ // Licensed under Apache License v2.0 with Runtime Library Exception
7
+ //
8
+ // See https://swift.org/LICENSE.txt for license information
9
+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ //
11
+ //===----------------------------------------------------------------------===//
1
12
2
13
extension Option {
3
14
public static let INPUT : Option = Option ( " <input> " , . input, attributes: [ . argumentIsPath] )
Original file line number Diff line number Diff line change
1
+ //==------------------ PrefixTrie.swift - Prefix Trie ---------------------===//
2
+ //
3
+ // This source file is part of the Swift.org open source project
4
+ //
5
+ // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
6
+ // Licensed under Apache License v2.0 with Runtime Library Exception
7
+ //
8
+ // See https://swift.org/LICENSE.txt for license information
9
+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ //
11
+ //===----------------------------------------------------------------------===//
12
+
1
13
/// A prefix trie is a data structure for quickly matching prefixes of strings.
2
14
/// It's a tree structure where each node in the tree corresponds to another
3
15
/// element in the prefix of whatever you're looking for.
Original file line number Diff line number Diff line change @@ -214,7 +214,19 @@ int makeOptions_main() {
214
214
215
215
// Add static properties to Option for each of the options.
216
216
auto &out = std::cout;
217
- out << " \n " ;
217
+
218
+ out <<
219
+ " //===--------------- Options.swift - Swift Driver Options -----------------===//\n "
220
+ " //\n "
221
+ " // This source file is part of the Swift.org open source project\n "
222
+ " //\n "
223
+ " // Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors\n "
224
+ " // Licensed under Apache License v2.0 with Runtime Library Exception\n "
225
+ " //\n "
226
+ " // See https://swift.org/LICENSE.txt for license information\n "
227
+ " // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors\n "
228
+ " //\n "
229
+ " //===----------------------------------------------------------------------===//\n\n " ;
218
230
out << " extension Option {\n " ;
219
231
forEachOption ([&](const RawOption &option) {
220
232
// Look through each spelling of the option.
You can’t perform that action at this time.
0 commit comments