VS2010 now includes a stdint.h header. LLVM assumes that there is no stdint.h header and creates own types and macros. Because the macros in the stdint.h header are not protected, you get warnings at compile time if you first include llvm/Support/Datatypes.h and then stdint.h.
The attached patch includes stdint.h depending on compiler version and therefore avoids these warnings.
datatypes.diff (1.26 KB)