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-Tag: llvmorg-3.2.0-rc1~2989 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75e4bb1d8799dc43f90c10fe2b474da99ff4172c;p=platform%2Fupstream%2Fllvm.git ccc-analyzer: pass -stdlib=libc++ through to the analyzer. Otherwise clang can't analyze code that relies on features provided by libc++. llvm-svn: 164262 --- diff --git a/clang/tools/scan-build/ccc-analyzer b/clang/tools/scan-build/ccc-analyzer index 216dc9d6e1e8..8717225c18db 100755 --- a/clang/tools/scan-build/ccc-analyzer +++ b/clang/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 '='