From 544450e449c2fa1af63199b047b2d378be1760ec Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 14 Feb 2013 00:32:25 +0000 Subject: [PATCH] Teach ccc-analyze to pass on -iquote with no spaces between it an the argument. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175115 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/scan-build/ccc-analyzer | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index df694f5027..bb6dd9563b 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -495,6 +495,11 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { push @CompileOpts,$Arg; next; } + # Handle the case where there isn't a space after -iquote + if ($Arg =~ /-iquote.*/) { + push @CompileOpts,$Arg; + next; + } # Options with possible arguments that should pass through to linker. if (defined $LinkerOptionMap{$ArgKey}) { -- 2.40.0