From: Jordan Rose Date: Thu, 20 Mar 2014 17:43:54 +0000 (+0000) Subject: [analyzer] scan-build: allow quotes around "-cc1" when looking at -### output. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e896106ae063b3c12432095624e543ed8eadee0b;p=clang [analyzer] scan-build: allow quotes around "-cc1" when looking at -### output. Third time's the charm. Patch by Brennan Shacklett! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204362 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index df419368cb..b5445e69ed 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -150,7 +150,7 @@ sub GetCCArgs { close(TO_PARENT); my $line; while () { - next if (!/\s-cc1\s/); + next if (!/\s"?-cc1"?\s/); $line = $_; }