Skip to content

Commit

Permalink
Remove warning args from absolute argsfile
Browse files Browse the repository at this point in the history
Summary: This is another arg that is not Xcode compatible, breaking indexing. Replace it.

Reviewed By: johnhaitas, AdamCmiel

Differential Revision: D50740219

fbshipit-source-id: d4397bedef79a905911ac2e1b11c1408aa115801
  • Loading branch information
chatura-atapattu authored and facebook-github-bot committed Oct 27, 2023
1 parent 7fa536d commit a4ca3e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prelude/cxx/compile.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ CxxCompileOutput = record(
_ABSOLUTE_ARGSFILE_SUBSTITUTIONS = [
(regex("-filter-error=.+"), "-fcolor-diagnostics"),
(regex("-filter-ignore=.+"), "-fcolor-diagnostics"),
(regex("-filter-warning=.+"), "-fcolor-diagnostics"),
]

def get_extension_for_header(header_extension: str) -> str | None:
Expand Down

0 comments on commit a4ca3e9

Please sign in to comment.