llvm-project/clang/test
Richard Smith f4c51d9d76 In C++11 mode, when an integral constant expression is desired and we have a
value of class type, look for a unique conversion operator converting to
integral or unscoped enumeration type and use that. Implements [expr.const]p5.

Sema::VerifyIntegerConstantExpression now performs the conversion and returns
the converted result. Some important callers of Expr::isIntegralConstantExpr
have been switched over to using it (including all of those required for C++11
conformance); this switch brings a side-benefit of improved diagnostics and, in
several cases, simpler code. However, some language extensions and attributes
have not been moved across and will not perform implicit conversions on
constant expressions of literal class type where an ICE is required.

In passing, fix static_assert to perform a contextual conversion to bool on its
argument.

llvm-svn: 149776
2012-02-04 09:53:13 +00:00
..
ARCMT Look for declaration of CFBridgingRetain/CFBridgingRetain before 2012-02-01 22:56:20 +00:00
ASTMerge Improve location fidelity of objc decls. 2011-10-04 04:48:02 +00:00
Analysis [analyzer] Make sure Containers OutOfBounds checker does not crash on undefined arguments, when CF functions are called with wrong number of arguments. 2012-02-04 06:40:52 +00:00
CXX In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
CodeCompletion Provide result types for code completions that describe built-in 2011-10-18 21:20:17 +00:00
CodeGen Update tests so that they don't rely upon LLVMDebugVersion number. 2012-02-03 23:58:39 +00:00
CodeGenCUDA CUDA: IR generation support for device stubs 2011-10-06 18:51:56 +00:00
CodeGenCXX Update tests so that they don't rely upon LLVMDebugVersion number. 2012-02-03 23:58:39 +00:00
CodeGenObjC Unbreak failing test added in r149738. 2012-02-04 05:33:36 +00:00
CodeGenObjCXX Move the code that sets the AddressSafety 2012-02-02 11:49:28 +00:00
CodeGenOpenCL A few style changes. 2012-01-19 01:16:16 +00:00
Coverage rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Driver test/Driver/target.c: Relax expression for "gcc.exe" on win32. 2012-02-01 15:16:22 +00:00
FixIt Introduce 3 new fixit options: 2012-01-26 02:40:48 +00:00
Frontend Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
Headers rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Index Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
Lexer Improve the error message slightly for files that aren't using the expected UTF-8 encoding. Patch by Seth Cantrell. 2012-01-25 22:34:12 +00:00
Misc Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
Modules Use -isystem rather than relying on -isysroot to work consistently 2012-02-02 19:35:15 +00:00
PCH rename -ccc-host-triple into -target 2012-01-20 22:01:23 +00:00
Parser In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
Preprocessor Per discussion on cfe-dev, remove '#error' and '#warning' from diagnostic text. 2012-02-02 00:16:13 +00:00
Rewriter Remove the "C" in "implicitly declaring C library function" diagnostic 2012-01-27 23:21:02 +00:00
Sema In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
SemaCUDA CUDA: diagnose invalid calls across targets 2011-10-02 23:49:40 +00:00
SemaCXX In C++11 mode, when an integral constant expression is desired and we have a 2012-02-04 09:53:13 +00:00
SemaObjC Fixed some testsuite problems introduced by my 2012-02-04 02:28:18 +00:00
SemaObjCXX Fixed some testsuite problems introduced by my 2012-02-04 02:28:18 +00:00
SemaOpenCL Support constant evaluation for OpenCL nested vector literals. Patch by Anton Lokhmotov. 2012-01-03 23:24:20 +00:00
SemaTemplate Added tests for template keyword presence. 2012-01-28 11:04:22 +00:00
Unit test/Unit: Fixup lit.cfg to allow running inside test/Unit (with llvm-config in 2011-06-22 21:46:43 +00:00
CMakeLists.txt CMake: Promote the testing targets out of folders on IDE. 2012-01-30 03:15:47 +00:00
Makefile lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg test/lit.cfg: Enhance getRegisteredTargets() to retrieve +Asserts. 2011-11-28 05:09:42 +00:00
lit.site.cfg.in lit support for REQUIRES: asserts. 2011-06-22 23:23:49 +00:00
make_test_dirs.pl