clang_files.is_hdr(path)
PARAMETERS
Name | Description | Default Value |
---|---|---|
path | - |
none |
clang_files.is_include_hdr(path, public_includes)
Determines whether the path is a public header.
PARAMETERS
Name | Description | Default Value |
---|---|---|
path | A path string value. |
none |
public_includes | Optional. A sequence of path string values that are used to identify public header files. |
None |
RETURNS
A bool
indicating whether the path is a public header.
clang_files.is_public_modulemap(path)
Determines whether the specified path is to a public module.modulemap
file.
PARAMETERS
Name | Description | Default Value |
---|---|---|
path | A path string . |
none |
RETURNS
A bool
indicating whether the path is a public module.modulemap
file.
clang_files.collect_files(repository_ctx, root_paths, public_includes, remove_prefix)
PARAMETERS
Name | Description | Default Value |
---|---|---|
repository_ctx | - |
none |
root_paths | - |
none |
public_includes | - |
None |
remove_prefix | - |
None |
clang_files.get_hdr_paths_from_modulemap(repository_ctx, modulemap_path)
Retrieves the list of headers declared in the specified modulemap file.
PARAMETERS
Name | Description | Default Value |
---|---|---|
repository_ctx | A repository_ctx instance. |
none |
modulemap_path | A path string to the module.modulemap file. |
none |
RETURNS
A list
of path string
values.