Fix the type of 1<<31 integer constants.
authorBenjamin Kramer <benny.kra@googlemail.com>
Mon, 24 Sep 2018 17:51:15 +0000 (17:51 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Mon, 24 Sep 2018 17:51:15 +0000 (17:51 +0000)
commit0181e7a6bde60c9cfb1877b0bd1324e234544e5f
treebe7c8b1153253575f4c93a840de7a9157bd662dc
parent51cbd838d04c7a8792031bd0a3d48d0c12b25816
Fix the type of 1<<31 integer constants.

Shifting into the sign bit is technically undefined behavior. No known
compiler exploits it though.

llvm-svn: 342909
clang/include/clang/Basic/SourceManager.h
clang/lib/CodeGen/CGBlocks.h