diff options
| -rwxr-xr-x | clang/tools/scan-build/ccc-analyzer | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer index 9de38d42aaf..aa02653a49e 100755 --- a/clang/tools/scan-build/ccc-analyzer +++ b/clang/tools/scan-build/ccc-analyzer @@ -353,7 +353,6 @@ my %CompileOptionMap = ( '-imacros' => 1, '-iprefix' => 1, '-iquote' => 1, - '-isystem' => 1, '-iwithprefix' => 1, '-iwithprefixbefore' => 1 ); @@ -572,7 +571,7 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { } # Compile mode flags. - if ($Arg =~ /^-[D,I,U](.*)$/) { + if ($Arg =~ /^-[D,I,U,isystem](.*)$/) { my $Tmp = $Arg; if ($1 eq '') { # FIXME: Check if we are going off the end. |

