r175115 - Teach ccc-analyze to pass on -iquote with no spaces between it an the argument.
Ted Kremenek
kremenek at apple.com
Wed Feb 13 16:32:25 PST 2013
Author: kremenek
Date: Wed Feb 13 18:32:25 2013
New Revision: 175115
URL: http://llvm.org/viewvc/llvm-project?rev=175115&view=rev
Log:
Teach ccc-analyze to pass on -iquote with no spaces between it an the argument.
Modified:
cfe/trunk/tools/scan-build/ccc-analyzer
Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=175115&r1=175114&r2=175115&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Wed Feb 13 18:32:25 2013
@@ -495,6 +495,11 @@ foreach (my $i = 0; $i < scalar(@ARGV);
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}) {
More information about the cfe-commits
mailing list