llvm-project/clang/test
Richard Smith 84a0b6dba1 DR1330: instantiate exception-specifications when "needed". We previously did
not instantiate exception specifications of functions if they were only used in
unevaluated contexts (other than 'noexcept' expressions).

In C++17 onwards, this becomes essential since the exception specification is
now part of the function's type.

Note that this means that constructs like the following no longer work:

  struct A {
    static T f() noexcept(...);
    decltype(f()) *p;
  };

... because the decltype expression now needs the exception specification of
'f', which has not yet been parsed.

llvm-svn: 284549
2016-10-18 23:39:12 +00:00
..
ARCMT [test/objcmt] Add a follow-up test case for r275600. 2016-07-15 20:40:24 +00:00
ASTMerge ASTMerge: explicitly specify arch for GCCAsmStmt test to calm non-x86 buildbots 2016-09-28 11:04:42 +00:00
Analysis alpha.core.UnreachableCode - don't warn about unreachable code inside macro 2016-10-18 13:16:53 +00:00
CXX DR1330: instantiate exception-specifications when "needed". We previously did 2016-10-18 23:39:12 +00:00
CodeCompletion [CodeCompletion] Show protocol properties that are accessed through qualified id 2016-10-12 11:40:15 +00:00
CodeGen Explicitly pass an isysroot to avoid the SDKROOT overriding the deployment target. 2016-10-17 20:37:56 +00:00
CodeGenCUDA [CUDA] Rename cuda_builtin_vars.h to __clang_cuda_builtin_vars.h. 2016-10-08 22:16:08 +00:00
CodeGenCXX [c++1z] Include "noexcept" in builtin function types where appropriate. Fixes 2016-10-18 07:13:55 +00:00
CodeGenCoroutines [coroutines] Adding builtins for coroutine intrinsics and backendutil support. 2016-10-03 22:44:48 +00:00
CodeGenObjC test: attempt to repair SCEI buildbots 2016-10-13 20:10:22 +00:00
CodeGenObjCXX [CodeGen][ObjC] Do not call objc_storeStrong when initializing a 2016-10-18 19:05:41 +00:00
CodeGenOpenCL [OpenCL] Allow partial initializer for array and struct 2016-10-11 15:53:28 +00:00
Coverage
CoverageMapping [Coverage] Support for C++17 if initializers 2016-10-14 23:38:16 +00:00
Driver Fix clang tests 2016-10-18 19:22:20 +00:00
FixIt ObjC Class Property: diagnostics when accessing a class property using instance. 2016-06-28 23:01:49 +00:00
Format Make clang-format remove duplicate headers when sorting #includes. 2016-08-10 09:32:23 +00:00
Frontend CC1: Add -save-stats option 2016-09-26 18:53:34 +00:00
Headers Implement __stosb intrinsic as a volatile memset 2016-10-14 17:33:05 +00:00
Index [CodeCompletion] Add a block property setter completion result 2016-10-18 10:55:01 +00:00
Integration
Layout [MS ABI] Implement __declspec(empty_bases) and __declspec(layout_version) 2016-05-23 17:16:12 +00:00
Lexer Mark aligned allocation as done. 2016-10-10 06:55:42 +00:00
Misc Put new warning in a diagnostic group. 2016-09-27 23:44:38 +00:00
Modules Revert "Reinstate r281429, reverted in r281452, with a fix for its mishandling of" 2016-10-17 13:00:44 +00:00
OpenMP Fix for PR30632: Name mangling issue. 2016-10-14 12:43:59 +00:00
PCH [CUDA] Add #pragma clang force_cuda_host_device_{begin,end} pragmas. 2016-10-08 22:15:58 +00:00
Parser [CUDA] Emit deferred diagnostics during Sema rather than during codegen. 2016-10-13 20:52:12 +00:00
Preprocessor [ARM]: Add Cortex-R52 target 2016-10-07 12:08:41 +00:00
Profile [Coverage] Support for C++17 if initializers 2016-10-14 23:38:16 +00:00
Rewriter
Sema __builtin_fpclassify missing one int parameter 2016-10-14 20:43:37 +00:00
SemaCUDA [CUDA] Fix false-positive in known-emitted handling. 2016-10-17 02:25:55 +00:00
SemaCXX DR1330: instantiate exception-specifications when "needed". We previously did 2016-10-18 23:39:12 +00:00
SemaObjC Revert r284265 "[Sema] Refactor context checking for availability diagnostics" 2016-10-18 15:26:43 +00:00
SemaObjCXX Sema: support __declspec(dll*) on ObjC interfaces 2016-07-15 20:41:10 +00:00
SemaOpenCL [AMDGPU] Expose flat work group size, register and wave control attributes 2016-09-26 01:02:57 +00:00
SemaTemplate DR1330: instantiate exception-specifications when "needed". We previously did 2016-10-18 23:39:12 +00:00
TableGen
Tooling Back out the test case for r266973 for now. 2016-04-21 10:46:14 +00:00
Unit Replace hardcoded comment at 'lit.site.cfg.in' 2016-04-16 06:54:46 +00:00
VFS Don't diagnose non-modular includes when we are not compiling a module. 2016-08-26 17:16:46 +00:00
.clang-format
CMakeLists.txt Revert "[test] Add libLTO as a clang test dependency on Darwin" 2016-08-30 20:36:48 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg [Driver] Make -print-libgcc-file-name print compiler-rt lib when used 2016-10-10 12:23:40 +00:00
lit.site.cfg.in XFAIL Driver/darwin-stdlib.cpp if CLANG_DEFAULT_CXX_STDLIB is set 2016-09-29 07:43:08 +00:00
make_test_dirs.pl