[PATCH] D13800: ccc-analyzer: Fix -isystem value passing

Devin Coughlin via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 26 10:22:15 PDT 2015


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13800.38433.patch
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151026/c5278cc3/attachment.bin>


More information about the cfe-commits mailing list