diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-05-27 23:17:16 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-05-27 23:17:16 +0000 |
commit | 30aba6d2aa1f38e6da980f58f8286548b1caf4a3 (patch) | |
tree | af23101dbf2b9a6e68274eac8acd7b134710f4f3 | |
parent | 2fb86e61e3d8c39f7981d0270278541fb7cad255 (diff) |
Correctly check to see if we are analyzing C++ files (skip).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51620 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | utils/ccc-analyzer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ccc-analyzer b/utils/ccc-analyzer index c62dc18053..60286e5223 100755 --- a/utils/ccc-analyzer +++ b/utils/ccc-analyzer @@ -44,7 +44,7 @@ def remove_pch_extension(path): return path[:i] def analyze(clang, args,language,output,files,verbose,htmldir,file,analysis_type): - if language.find("c++") > 0: + if language.rfind("c++") >= 0: return print_args = [] |