The latest version of clang has many explicit calls to the destructor of Class Stmt. These produce some compile errors in MSVC.
something like this:
1>.\Stmt.cpp(112) : error C2300: ‘clang::SwitchStmt’ : class does not have a destructor called ‘~Stmt’
1>.\Stmt.cpp(476) : error C2300: ‘clang::IfStmt’ : class does not have a destructor called ‘~Stmt’
1>.\Stmt.cpp(501) : error C2300: ‘clang::WhileStmt’ : class does not have a destructor called ‘~Stmt’
I don’t know how to do with this. Can someone fix it?