]> granicus.if.org Git - clang/commitdiff
[analyzer] scan-build: Treat '.C' files as C++.
authorJordan Rose <jordan_rose@apple.com>
Wed, 28 Nov 2012 19:12:29 +0000 (19:12 +0000)
committerJordan Rose <jordan_rose@apple.com>
Wed, 28 Nov 2012 19:12:29 +0000 (19:12 +0000)
Part of PR14443.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168804 91177308-0d34-0410-b5e6-96231b3b80d8

tools/scan-build/ccc-analyzer

index 8717225c18db3ca4fae214925e09a8b2c117732e..8bd9ec2724ae198479cc8efa6b7a22c21a71536e 100755 (executable)
@@ -389,6 +389,7 @@ my %LangMap = (
   'cxx' => 'c++',
   'txx' => 'c++',
   'cc'  => 'c++',
+  'C'   => 'c++',
   'ii'  => 'c++',
   'i'   => 'c-cpp-output',
   'm'   => 'objective-c',