From 90b0bc6f41bc68ec7fb59b60a0fd8a61530e1d9d Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 19 Sep 2012 22:56:24 +0000 Subject: [PATCH] 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 --- tools/scan-build/ccc-analyzer | 1 + 1 file changed, 1 insertion(+) 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 '=' -- 2.40.0