This revision was automatically updated to reflect the committed changes. Closed by commit rL251312: [analyzer] ccc-analyzer: Fix -isystem value passing. (authored by dcoughlin).
Changed prior to commit: http://reviews.llvm.org/D13800?vs=37567&id=38433#toc Repository: rL LLVM http://reviews.llvm.org/D13800 Files: cfe/trunk/tools/scan-build/ccc-analyzer Index: cfe/trunk/tools/scan-build/ccc-analyzer =================================================================== --- cfe/trunk/tools/scan-build/ccc-analyzer +++ cfe/trunk/tools/scan-build/ccc-analyzer @@ -586,7 +586,7 @@ } # Compile mode flags. - if ($Arg =~ /^-[D,I,U,isystem](.*)$/) { + if ($Arg =~ /^-(?:[DIU]|isystem)(.*)$/) { my $Tmp = $Arg; if ($1 eq '') { # FIXME: Check if we are going off the end.
Index: cfe/trunk/tools/scan-build/ccc-analyzer =================================================================== --- cfe/trunk/tools/scan-build/ccc-analyzer +++ cfe/trunk/tools/scan-build/ccc-analyzer @@ -586,7 +586,7 @@ } # Compile mode flags. - if ($Arg =~ /^-[D,I,U,isystem](.*)$/) { + if ($Arg =~ /^-(?:[DIU]|isystem)(.*)$/) { my $Tmp = $Arg; if ($1 eq '') { # FIXME: Check if we are going off the end.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits