Correctly check to see if we are analyzing C++ files (skip).

llvm-svn: 51620
This commit is contained in:
Ted Kremenek 2008-05-27 23:17:16 +00:00
parent 1c56ace4df
commit f9671ecbfd
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []