Skip to content
Snippets Groups Projects
Commit 544450e4 authored by Ted Kremenek's avatar Ted Kremenek
Browse files

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
parent 3a09444d
No related branches found
No related tags found
No related merge requests found
...@@ -495,6 +495,11 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) { ...@@ -495,6 +495,11 @@ foreach (my $i = 0; $i < scalar(@ARGV); ++$i) {
push @CompileOpts,$Arg; push @CompileOpts,$Arg;
next; 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. # Options with possible arguments that should pass through to linker.
if (defined $LinkerOptionMap{$ArgKey}) { if (defined $LinkerOptionMap{$ArgKey}) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment