From e896106ae063b3c12432095624e543ed8eadee0b Mon Sep 17 00:00:00 2001 From: Jordan Rose Date: Thu, 20 Mar 2014 17:43:54 +0000 Subject: [PATCH] [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 --- tools/scan-build/ccc-analyzer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = $_; } -- 2.40.0