Correctly check to see if we are analyzing C++ files (skip).
llvm-svn: 51620
This commit is contained in:
parent
1c56ace4df
commit
f9671ecbfd
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue