Skip to content

Commit e8a8554

Browse files
author
Erich Keane
authored
[SYCL] Update the dependency-filter command line opt to use the marshaller (#3406)
Use the new marshalling command line opts for this feature instead.
1 parent c32ccbe commit e8a8554

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

clang/include/clang/Driver/Options.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4869,7 +4869,8 @@ def header_include_file : Separate<["-"], "header-include-file">,
48694869
def show_includes : Flag<["--"], "show-includes">,
48704870
HelpText<"Print cl.exe style /showIncludes to stdout">;
48714871
def dependency_filter : Separate<["-"], "dependency-filter">,
4872-
HelpText<"Filter dependencies with prefix from the dependency output.">;
4872+
HelpText<"Filter dependencies with prefix from the dependency output.">,
4873+
MarshallingInfoString<DependencyOutputOpts<"DependencyFilter">>;
48734874

48744875
//===----------------------------------------------------------------------===//
48754876
// Diagnostic Options

clang/lib/Frontend/CompilerInvocation.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2004,8 +2004,6 @@ static bool ParseDependencyOutputArgsImpl(
20042004
DependencyOutputOptions &Opts, ArgList &Args,
20052005
DiagnosticsEngine &Diags,
20062006
frontend::ActionKind Action, bool ShowLineMarkers) {
2007-
Opts.DependencyFilter =
2008-
std::string(Args.getLastArgValue(OPT_dependency_filter));
20092007
Opts.Targets = Args.getAllArgValues(OPT_MT);
20102008

20112009
unsigned NumErrorsBefore = Diags.getNumErrors();

0 commit comments

Comments
 (0)