[cfe-commits] r150059 - in /cfe/trunk: include/clang/Basic/DiagnosticASTKinds.td lib/AST/ExprConstant.cpp lib/Sema/SemaDeclCXX.cpp test/CXX/expr/expr.const/p2-0x.cpp test/SemaCXX/constexpr-sysheaders.cpp

Howard Hinnant hhinnant at apple.com
Wed Feb 8 14:21:59 PST 2012


On Feb 7, 2012, at 8:14 PM, Richard Smith wrote:

> Author: rsmith
> Date: Wed Feb  8 00:14:53 2012
> New Revision: 150059
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=150059&view=rev
> Log:
> Implement the agreed resolution to DR1457: a signed left shift of a 1 bit into
> the sign bit doesn't have undefined behavior, but a signed left shift of a 1 bit
> out of the sign bit still does. As promised to Howard :)
> 
> The suppression of the potential constant expression checking in system headers
> is also removed, since the problem it was working around is gone.

Thanks much Richard!

Howard




More information about the cfe-commits mailing list