[cfe-commits] r173377 - in /cfe/trunk: include/clang/AST/Expr.h include/clang/Basic/DiagnosticASTKinds.td include/clang/Basic/DiagnosticSemaKinds.td include/clang/Sema/Sema.h lib/AST/ExprConstant.cpp lib/Sema/SemaChecking.cpp lib/Sema/SemaDecl.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaStmt.cpp test/Sema/switch-1.c
jahanian
fjahanian at apple.com
Fri Jan 25 09:20:47 PST 2013
On Jan 24, 2013, at 3:59 PM, John McCall <rjmccall at apple.com> wrote:
>
> So that would give us something like this:
> warning: overflow in constant expression; result is 3 with type 'uint8_t' (aka 'unsigned char')
>
> That works for me.
In r173461. I removed the word 'constant' though per richard's remark.
- Fariborz
>
> John.
More information about the cfe-commits
mailing list