llvm-project/clang/test/CXX/expr
Richard Trieu dcb5557f2d Improve -Wconstant-conversion
Switch the evaluation from isIntegerConstantExpr to EvaluateAsInt.
EvaluateAsInt will evaluate more types of expressions than
isIntegerConstantExpr.

Move one case from -Wsign-conversion to -Wconstant-conversion.  The case is:
1) Source and target types are signed
2) Source type is wider than the target type
3) The source constant value is positive
4) The conversion will store the value as negative in the target.

llvm-svn: 259271
2016-01-29 23:51:16 +00:00
..
expr.ass The 'constexpr implies const' rule for non-static member functions is gone in 2013-04-21 01:08:50 +00:00
expr.cast
expr.const Improve -Wconstant-conversion 2016-01-29 23:51:16 +00:00
expr.mptr.oper Revert "Don't require -re suffix on -verify directives with regexes." 2013-12-14 01:07:05 +00:00
expr.post sizeof(void) etc. should be a hard error in C++. 2013-08-13 22:26:42 +00:00
expr.prim N3922: direct-list-initialization of an auto-typed variable no longer deduces a 2015-11-11 01:36:17 +00:00
expr.unary [Sema] Be consistent about diagnostic wording: always use "cannot". 2015-08-15 15:23:14 +00:00
p3.cpp
p8.cpp
p9.cpp
p10-0x.cpp Update Clang tests to handle explicitly typed load changes in LLVM. 2015-02-27 21:19:58 +00:00