yaron.keren added a comment. Fixed several ThreadSanitizer.cpp issues in r245167. I don't have VS2015 config to test the warning and the online compiler is out but const unsigned ByteSize = 1U << i; should be OK. Please update if it's still warning. http://reviews.llvm.org/D11890