Skip to content

Commit fe738b9

Browse files
authored
Update arglistfilter.py
Bug fix from over gllvm way found by @woodruffw
1 parent f4b2ad2 commit fe738b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wllvm/arglistfilter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ def __init__(self, inputList, exactMatches={}, patternMatches={}):
4747
'-v' : (0, ArgumentListFilter.compileOnlyCallback),
4848

4949
#warnings (apart from the regex below)
50-
'-w' : (0, ArgumentListFilter.compileOnlyCallback),
51-
'-W' : (0, ArgumentListFilter.compileOnlyCallback),
50+
'-w' : (0, ArgumentListFilter.compileUnaryCallback),
51+
'-W' : (0, ArgumentListFilter.compileUnaryCallback),
5252

5353

5454
#iam: if this happens, then we need to stop and think.

0 commit comments

Comments
 (0)