llvm-project/clang/test
Richard Smith a625da716c When determining whether a lambda-expression is implicitly constexpr,
check the formal rules rather than seeing if the normal checks produce a
diagnostic.

This fixes the handling of C++2a extensions in lambdas in C++17 mode,
as well as some corner cases in earlier language modes where we issue
diagnostics for things other than not satisfying the formal constexpr
requirements.

llvm-svn: 367254
2019-07-29 19:59:45 +00:00
..
ARCMT
AST Add lifetime categories attributes 2019-07-25 17:50:51 +00:00
ASTMerge [ASTImporter] Store import errors for Decls 2019-06-25 08:00:51 +00:00
Analysis Fix taint-generic.c on Windows, handle case in OS error 2019-07-29 18:48:50 +00:00
CXX When determining whether a lambda-expression is implicitly constexpr, 2019-07-29 19:59:45 +00:00
ClangScanDeps [clang-scan-deps] use `-Wno-error` when scanning for dependencies 2019-07-03 18:01:32 +00:00
CodeCompletion Re-land "[CodeComplete] Improve overload handling for C++ qualified and ref-qualified methods." 2019-06-10 15:17:52 +00:00
CodeGen [FunctionAttrs] Annotate "willreturn" for intrinsics 2019-07-28 06:09:56 +00:00
CodeGenCUDA [clang] Preserve names of addrspacecast'ed values. 2019-07-10 17:10:05 +00:00
CodeGenCXX Revert "Revert "CodeGen: ensure placeholder instruction for cleanup is created"" 2019-07-25 20:59:48 +00:00
CodeGenCoroutines
CodeGenObjC Revert "[Sema] Diagnose default-initialization, destruction, and copying of" 2019-07-26 00:02:17 +00:00
CodeGenObjCXX [Clang] Replace cc1 options '-mdisable-fp-elim' and '-momit-leaf-frame-pointer' 2019-07-20 22:50:50 +00:00
CodeGenOpenCL [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
CodeGenOpenCLCXX Make the CXXABIs respect the target's default calling convention. 2019-07-26 12:36:12 +00:00
Coverage Re-check in clang support gun asm goto after fixing tests. 2019-06-03 15:57:25 +00:00
CoverageMapping
Driver [driver][test] Update as-options.s to not write to a readonly tree 2019-07-29 19:57:31 +00:00
FixIt [c++20] P0780R2: Support pack-expansion of init-captures. 2019-05-21 20:10:50 +00:00
Format [clang-format][tests] Explicitly specify style in some tests 2019-07-12 15:56:18 +00:00
Frontend [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
Headers [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
Import [ASTImporter] Copy Argument Passing Restrictions setting when importing a CXXRecordDecl definition 2019-04-26 18:51:28 +00:00
Index [ASTUnit] Attempt to unbreak Windows buildbots after r366448 2019-07-18 16:24:09 +00:00
Integration
InterfaceStubs [NFC] Fix for InterfaceStubs tests (adding REQUIRES: x86-registered-target). 2019-06-20 18:28:21 +00:00
Layout P0840R2: support for [[no_unique_address]] attribute 2019-06-20 20:44:45 +00:00
Lexer ARM MTE stack sanitizer. 2019-07-15 20:02:23 +00:00
Misc Add lifetime categories attributes 2019-07-25 17:50:51 +00:00
Modules [Driver] Add float-divide-by-zero back to supported sanitizers after D63793/rC365272 2019-07-10 00:30:02 +00:00
OpenMP [OPENMP]Add support for analysis of reduction variables. 2019-07-26 14:50:05 +00:00
PCH Revert "[Sema] Diagnose default-initialization, destruction, and copying of" 2019-07-26 00:02:17 +00:00
Parser [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
Preprocessor Implement P1771 2019-07-25 15:10:56 +00:00
Profile Revert "[clang][NewPM] Fix broken profile test" 2019-06-29 00:10:22 +00:00
Refactor
Rewriter
Sema [Sema] Fix -Wuninitialized for struct assignment from GNU C statement expression 2019-07-26 17:29:35 +00:00
SemaCUDA Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
SemaCXX When determining whether a lambda-expression is implicitly constexpr, 2019-07-29 19:59:45 +00:00
SemaObjC Revert "[Sema] Diagnose default-initialization, destruction, and copying of" 2019-07-26 00:02:17 +00:00
SemaObjCXX If capturing a variable fails, add a capture anyway (and mark it 2019-05-28 23:09:44 +00:00
SemaOpenCL Add lifetime categories attributes 2019-07-25 17:50:51 +00:00
SemaOpenCLCXX [OpenCL] Rename lang mode flag for C++ mode 2019-07-25 11:04:29 +00:00
SemaTemplate Renamed and changed the wording of warn_cconv_ignored 2019-07-17 20:41:26 +00:00
TableGen
Templight
Tooling Recommit r363298 "[lit] Disable test on darwin when building shared libs." 2019-06-15 20:09:54 +00:00
Unit [lit] Set shlibpath_var on AIX 2019-03-29 23:33:04 +00:00
VFS
clang-rename
.clang-format
CMakeLists.txt Fix breakage introduced by D60974 2019-07-01 21:57:31 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg.py Fix a Python3 compatibility error 2019-07-11 21:45:48 +00:00
lit.site.cfg.py.in [clang][NewPM] Fixing remaining -O0 tests that are broken under new PM 2019-06-19 17:41:30 +00:00
make_test_dirs.pl