[cfe-commits] r149344 - in /cfe/trunk: include/clang/Basic/DiagnosticASTKinds.td lib/AST/ExprConstant.cpp test/CXX/expr/expr.const/p2-0x.cpp

Abramo Bagnara abramo.bagnara at gmail.com
Tue Jan 31 00:44:44 PST 2012


Il 31/01/2012 05:08, Richard Smith ha scritto:
> Author: rsmith
> Date: Mon Jan 30 22:08:20 2012
> New Revision: 149344
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=149344&view=rev
> Log:
> constexpr: catch a collection of integral undefined behaviors:
>   -INT_MIN and INT_MIN / -1

Don't forget INT_MIN % -1. It is tied to INT_MIN / -1 in modern standards.




More information about the cfe-commits mailing list