Skip to content

Commit

Permalink
Update docs and fix buildifier failure
Browse files Browse the repository at this point in the history
  • Loading branch information
BalestraPatrick committed May 16, 2024
1 parent be307b2 commit aad53d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,7 @@ A provider whose type/layout is an implementation detail and should not
<pre>
swift_common.create_swift_module(<a href="#swift_common.create_swift_module-swiftdoc">swiftdoc</a>, <a href="#swift_common.create_swift_module-swiftmodule">swiftmodule</a>, <a href="#swift_common.create_swift_module-ast_files">ast_files</a>, <a href="#swift_common.create_swift_module-defines">defines</a>, <a href="#swift_common.create_swift_module-indexstore">indexstore</a>, <a href="#swift_common.create_swift_module-plugins">plugins</a>,
<a href="#swift_common.create_swift_module-swiftsourceinfo">swiftsourceinfo</a>, <a href="#swift_common.create_swift_module-swiftinterface">swiftinterface</a>, <a href="#swift_common.create_swift_module-private_swiftinterface">private_swiftinterface</a>,
<a href="#swift_common.create_swift_module-const_gather_protocols">const_gather_protocols</a>,
<a href="#swift_common.create_swift_module-symbol_graph">symbol_graph</a>)
<a href="#swift_common.create_swift_module-const_gather_protocols">const_gather_protocols</a>, <a href="#swift_common.create_swift_module-symbol_graph">symbol_graph</a>)
</pre>

Creates a value representing a Swift module use as a Swift dependency.
Expand All @@ -484,6 +483,7 @@ Creates a value representing a Swift module use as a Swift dependency.
| <a id="swift_common.create_swift_module-plugins"></a>plugins | A list of `SwiftCompilerPluginInfo` providers representing compiler plugins that are required by this module and should be loaded by the compiler when this module is directly depended on. | `[]` |
| <a id="swift_common.create_swift_module-swiftsourceinfo"></a>swiftsourceinfo | The `.swiftsourceinfo` file emitted by the compiler for this module. May be `None` if no source info file was emitted. | `None` |
| <a id="swift_common.create_swift_module-swiftinterface"></a>swiftinterface | The `.swiftinterface` file emitted by the compiler for this module. May be `None` if no module interface file was emitted. | `None` |
| <a id="swift_common.create_swift_module-private_swiftinterface"></a>private_swiftinterface | The `.private.swiftinterface` file emitted by the compiler for this module. May be `None` if no private module interface file was emitted. | `None` |
| <a id="swift_common.create_swift_module-const_gather_protocols"></a>const_gather_protocols | A list of protocol names from which constant values should be extracted from source code that takes this module as a *direct* dependency. | `[]` |
| <a id="swift_common.create_swift_module-symbol_graph"></a>symbol_graph | A `File` representing the directory that contains the symbol graph data generated by the compiler if the `"swift.emit_symbol_graph"` feature is enabled, otherwise this will be `None`. | `None` |

Expand Down
5 changes: 0 additions & 5 deletions swift/internal/compiling.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1378,10 +1378,6 @@ def _emit_private_module_interface_path_configurator(prerequisites, args):
"""Adds the `.private.swiftinterface` output path to the command line."""
args.add("-emit-private-module-interface-path", prerequisites.private_swiftinterface_file)

def _emit_const_values_path_configurator(prerequisites, args):
"""Adds the `.swiftconst` output path to the command line."""
args.add("-emit-const-values-path", prerequisites.swiftconst_values)

def _emit_objc_header_path_configurator(prerequisites, args):
"""Adds the generated header output path to the command line."""
if prerequisites.generated_header_file:
Expand Down Expand Up @@ -2423,7 +2419,6 @@ def compile(
else:
const_gather_protocols_file = []


compile_outputs, other_outputs = _declare_compile_outputs(
srcs = srcs,
actions = actions,
Expand Down

0 comments on commit aad53d8

Please sign in to comment.