VC++ warnings


Here’s a couple of patches to fix some compile warnings when building clang-cc from the cmake-generated Visual Studio project files, mainly just on the delete operators not matching the new operators. I also wanted to see if I’m creating appropriate patch files, since I’m developing on Windows. I used the “svn diff -x -u” command suggested in the LLVM docs, but from a Command window. However, it appears it’s not consistent about line endings, using both ‘\r\n’ and ‘\n’ in the file.


Stmt_h_warning.patch (737 Bytes)

ASTContest_h_warning.patch (664 Bytes)

Looks great, applied here:

Thanks John,