Skip to content

Commit

Permalink
"label_relative_path" -> CellPath
Browse files Browse the repository at this point in the history
Summary: String literals in types are deprecated and will be removed.

Reviewed By: JakobDegen

Differential Revision: D55563449

fbshipit-source-id: 37cfbf1bc14385df6ae48a951c85be0c6340c3fd
  • Loading branch information
stepancheg authored and facebook-github-bot committed Mar 31, 2024
1 parent edb4a18 commit c6f483c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cxx/preprocessor.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ SystemIncludeDirs = record(
# Compiler type to infer correct include flags
compiler_type = field(str),
# Directories to be included via [-isystem | /external:I] [arglike things]
include_dirs = field(list["label_relative_path"]),
include_dirs = field(list[CellPath]),
)

CPreprocessorArgs = record(
Expand All @@ -53,7 +53,7 @@ CPreprocessor = record(
# Those should be mutually exclusive with normal headers as per documentation
raw_headers = field(list[Artifact], []),
# Directories to be included via -I, [arglike things]
include_dirs = field(list["label_relative_path"], []),
include_dirs = field(list[CellPath], []),
# Directories to be included via -isystem, [arglike things]
system_include_dirs = field([SystemIncludeDirs, None], None),
# Whether to compile with modules support
Expand Down

0 comments on commit c6f483c

Please # to comment.