Clang doesn't support -fno-for-scope

This commit is contained in:
Jack Nagel 2014-05-08 22:24:01 -05:00
parent 4e301b5e93
commit fa3a58f399

View File

@ -158,7 +158,7 @@ class Cmd
/^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks',
'-fcaller-saves', '-fthread-jumps', '-fno-reorder-blocks', '-fcse-skip-blocks',
'-frerun-cse-after-loop', '-frerun-loop-opt', '-fcse-follow-jumps',
'-fno-regmove'
'-fno-regmove', '-fno-for-scope'
# clang doesn't support these flags
args << arg if not tool =~ /^clang/
when /^-W[alp],/, /^-Wno-/