projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90e9fd9
)
Teach ccc-analyze to pass on -iquote with no spaces between it an the argument.
author
Ted Kremenek
<kremenek@apple.com>
Thu, 14 Feb 2013 00:32:25 +0000
(
00:32
+0000)
committer
Ted Kremenek
<kremenek@apple.com>
Thu, 14 Feb 2013 00:32:25 +0000
(
00:32
+0000)
llvm-svn: 175115
clang/tools/scan-build/ccc-analyzer
patch
|
blob
|
history
diff --git
a/clang/tools/scan-build/ccc-analyzer
b/clang/tools/scan-build/ccc-analyzer
index
df694f5
..
bb6dd95
100755
(executable)
--- a/
clang/tools/scan-build/ccc-analyzer
+++ b/
clang/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}) {