Skip to content
This repository has been archived by the owner on Feb 4, 2020. It is now read-only.

Normalize out /[Ww]* arguments #324

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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: 3 additions & 0 deletions clcache/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ def _normalizedCommandLine(cmdline):
argsToStrip = ("AI", "C", "E", "P", "FI", "u", "X",
"FU", "D", "EP", "Fx", "U", "I")

# Remove all arguments that deal with compiler warnings.
argsToStrip += ("W", "w")

# Also remove the switch for specifying the output file name; we don't
# want two invocations which are identical except for the output file
# name to be treated differently.
Expand Down