[cfe-commits] r107562 - /cfe/trunk/tools/scan-build/ccc-analyzer
Shantonu Sen
ssen at apple.com
Fri Jul 2 20:08:24 PDT 2010
Author: ssen
Date: Fri Jul 2 22:08:23 2010
New Revision: 107562
URL: http://llvm.org/viewvc/llvm-project?rev=107562&view=rev
Log:
Forward -fno-builtin to clang, add .cp as a supported
extension if you otherwise configure scan-build
to do c++ static analysis.
OKed by Ted
Modified:
cfe/trunk/tools/scan-build/ccc-analyzer
Modified: cfe/trunk/tools/scan-build/ccc-analyzer
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/scan-build/ccc-analyzer?rev=107562&r1=107561&r2=107562&view=diff
==============================================================================
--- cfe/trunk/tools/scan-build/ccc-analyzer (original)
+++ cfe/trunk/tools/scan-build/ccc-analyzer Fri Jul 2 22:08:23 2010
@@ -315,6 +315,7 @@
my %CompileOptionMap = (
'-nostdinc' => 0,
'-fblocks' => 0,
+ '-fno-builtin' => 0,
'-fobjc-gc-only' => 0,
'-fobjc-gc' => 0,
'-ffreestanding' => 0,
@@ -365,6 +366,7 @@
my %LangMap = (
'c' => 'c',
+ 'cp' => 'c++',
'cpp' => 'c++',
'cc' => 'c++',
'i' => 'c-cpp-output',
More information about the cfe-commits
mailing list