Skip to content

[SYCL] Update the dependency-filter command line opt to use the marsh… #3406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion clang/include/clang/Driver/Options.td
Original file line number Diff line number Diff line change
Expand Up @@ -4869,7 +4869,8 @@ def header_include_file : Separate<["-"], "header-include-file">,
def show_includes : Flag<["--"], "show-includes">,
HelpText<"Print cl.exe style /showIncludes to stdout">;
def dependency_filter : Separate<["-"], "dependency-filter">,
HelpText<"Filter dependencies with prefix from the dependency output.">;
HelpText<"Filter dependencies with prefix from the dependency output.">,
MarshallingInfoString<DependencyOutputOpts<"DependencyFilter">>;

//===----------------------------------------------------------------------===//
// Diagnostic Options
Expand Down
2 changes: 0 additions & 2 deletions clang/lib/Frontend/CompilerInvocation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2004,8 +2004,6 @@ static bool ParseDependencyOutputArgsImpl(
DependencyOutputOptions &Opts, ArgList &Args,
DiagnosticsEngine &Diags,
frontend::ActionKind Action, bool ShowLineMarkers) {
Opts.DependencyFilter =
std::string(Args.getLastArgValue(OPT_dependency_filter));
Opts.Targets = Args.getAllArgValues(OPT_MT);

unsigned NumErrorsBefore = Diags.getNumErrors();
Expand Down