llvm-project/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr
David Blaikie 282ad876bd Implement GCC's -Wint-to-pointer-cast.
This implementation doesn't warn on anything that GCC doesn't warn on with the
exception of templates specializations (GCC doesn't warn, Clang does). The
specific skipped cases (boolean, constant expressions, enums) are open for
debate/adjustment if anyone wants to demonstrate that GCC is being overly
conservative here. The only really obvious false positive I found was in the
Clang regression suite's MPI test - apparently MPI uses specific flag values in
pointer constants. (eg: #define FOO (void*)~0)

llvm-svn: 166039
2012-10-16 18:53:14 +00:00
..
p1.cpp Fix a constexpr FIXME: When implicitly instantiating the primary template for an 2012-02-20 23:28:05 +00:00
p2.cpp Update all tests other than Driver/std.cpp to use -std=c++11 rather than 2011-10-13 22:29:44 +00:00
p3.cpp Update constexpr implementation to match CWG's chosen approach for core issues 2012-02-13 03:54:03 +00:00
p4.cpp Fix PR13052 properly, by performing special member lookup to determine whether 2012-06-10 05:43:50 +00:00
p5.cpp Implement GCC's -Wint-to-pointer-cast. 2012-10-16 18:53:14 +00:00
p6.cpp Update constexpr implementation to match CWG's chosen approach for core issues 2012-02-13 03:54:03 +00:00
p8.cpp constexpr is allowed on static member functions of non-literal classes. Per report on cfe-dev. 2012-01-13 02:31:53 +00:00
p9.cpp Update constexpr implementation to match CWG's chosen approach for core issues 2012-02-13 03:54:03 +00:00