add a test and a couple minor bug fixes for the implicit-signed-integer-truncation sanitizer. This is PR#40566

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@352926 91177308-0d34-0410-b5e6-96231b3b80d8
3 files changed