From: Benjamin Kramer Date: Wed, 19 Sep 2012 22:56:24 +0000 (+0000) Subject: ccc-analyzer: pass -stdlib=libc++ through to the analyzer. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90b0bc6f41bc68ec7fb59b60a0fd8a61530e1d9d;p=clang ccc-analyzer: pass -stdlib=libc++ through to the analyzer. Otherwise clang can't analyze code that relies on features provided by libc++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164262 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/scan-build/ccc-analyzer b/tools/scan-build/ccc-analyzer index 216dc9d6e1..8717225c18 100755 --- a/tools/scan-build/ccc-analyzer +++ b/tools/scan-build/ccc-analyzer @@ -354,6 +354,7 @@ my %CompilerLinkerOptionMap = ( '-arch' => 1, '-m32' => 0, '-m64' => 0, + '-stdlib' => 0, # This is really a 1 argument, but always has '=' '-v' => 0, '-fpascal-strings' => 0, '-mmacosx-version-min' => 0, # This is really a 1 argument, but always has '='